You are here

function twitter_update_7514 in Twitter 7.6

Same name and namespace in other branches
  1. 7.5 twitter.install \twitter_update_7514()

Updates twitter_search variable to point to https://twitter.com/ if they still point to the unsecured URL.

File

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

Code

function twitter_update_7514() {
  if (variable_get('twitter_search', 'https://twitter.com/') == 'http://twitter.com') {
    variable_set('twitter_search', 'https://twitter.com/');
  }
}