You are here

function twitter_post_update_7300 in Twitter 7.5

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

Don't default to TinyURL any more.

File

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

Code

function twitter_post_update_7300() {
  if (variable_get('twitter_post_default_format', NULL) == 'New post: !title !tinyurl') {
    variable_set('twitter_post_default_format', "New post: !title !url-alias");
  }
  return t('Twitter Post now defaults to using aliases, not TinyURL.');
}