You are here

function googleanalytics_update_6006 in Google Analytics 7

Same name and namespace in other branches
  1. 5 googleanalytics.install \googleanalytics_update_6006()
  2. 6.4 googleanalytics.install \googleanalytics_update_6006()
  3. 6 googleanalytics.install \googleanalytics_update_6006()
  4. 6.2 googleanalytics.install \googleanalytics_update_6006()
  5. 6.3 googleanalytics.install \googleanalytics_update_6006()
  6. 7.2 googleanalytics.install \googleanalytics_update_6006()

Upgrade custom javascript settings.

File

./googleanalytics.install, line 224
Installation file for Google Analytics module.

Code

function googleanalytics_update_6006() {
  variable_set('googleanalytics_codesnippet_before', variable_get('googleanalytics_codesnippet', ''));
  variable_del('googleanalytics_codesnippet');
  return t('Upgraded custom javascript codesnippet setting.');
}