function twitter_post_update_7300 in Twitter 7.6
Same name and namespace in other branches
- 7.3 twitter_post/twitter_post.install \twitter_post_update_7300()
- 7.4 twitter_post/twitter_post.install \twitter_post_update_7300()
- 7.5 twitter_post/twitter_post.install \twitter_post_update_7300()
Don't default to TinyURL any more.
File
- twitter_post/
twitter_post.install, line 70 - 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.');
}