You are here

function twitter_update_6002 in Twitter 6.5

Same name and namespace in other branches
  1. 6.2 twitter.install \twitter_update_6002()
  2. 6.3 twitter.install \twitter_update_6002()
  3. 6.4 twitter.install \twitter_update_6002()

Set the weight a little heavier to allow Pathauto and other modules to do their work on the title, path alias, etc. before the twitter post is sent.

File

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

Code

function twitter_update_6002() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 3 WHERE name = 'twitter'");
  return $ret;
}