You are here

function twitter_update_7301 in Twitter 7.5

Same name and namespace in other branches
  1. 7.6 twitter.install \twitter_update_7301()
  2. 7.3 twitter.install \twitter_update_7301()
  3. 7.4 twitter.install \twitter_update_7301()

Removes include_retweets field

File

./twitter.install, line 382
Install, update and uninstall functions for the twitter module.

Code

function twitter_update_7301() {
  if (db_field_exists('twitter_account', 'include_retweets')) {
    db_drop_field('twitter_account', 'include_retweets');
    return t('Include Retweets field was removed from Twitter accounts.');
  }
}