You are here

function l10n_client_update_7003 in Localization client 7

Update http based localize.drupal.org address to https.

File

./l10n_client.install, line 32
Install, uninstall and update functions for localization client.

Code

function l10n_client_update_7003() {
  $server_setting = variable_get('l10n_client_server', NULL);
  if (!empty($server_setting) && $server_setting == 'http://localize.drupal.org') {
    variable_set('l10n_client_server', 'https://localize.drupal.org/');
  }
}