You are here

function twitter_post_update_7301 in Twitter 7.6

Same name and namespace in other branches
  1. 7.3 twitter_post/twitter_post.install \twitter_post_update_7301()
  2. 7.4 twitter_post/twitter_post.install \twitter_post_update_7301()
  3. 7.5 twitter_post/twitter_post.install \twitter_post_update_7301()

Implements hook_update_N().

Increase module weight to run after pathauto.

File

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

Code

function twitter_post_update_7301() {
  db_update('system')
    ->fields(array(
    'weight' => 10,
  ))
    ->condition('name', 'twitter_post', '=')
    ->execute();
  return t('Updated system weight to 10 for Twitter Post.');
}