function twitter_update_6302 in Twitter 6.5
Same name and namespace in other branches
- 6.3 twitter.install \twitter_update_6302()
- 6.4 twitter.install \twitter_update_6302()
Update new default_state variable to preserve existing settings.
File
- ./
twitter.install, line 809 - Install, update and uninstall functions for the twitter module.
Code
function twitter_update_6302() {
$ret = array();
$default_seting = variable_get('twitter_default_state', NULL);
if ($default_setting === NULL) {
variable_set('twitter_post_default_state', 'create');
}
return $ret;
}