You are here

function twitter_update_6516 in Twitter 6.5

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

File

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

Code

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