You are here

function googleanalytics_update_6006 in Google Analytics 6.4

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

Upgrade custom javascript settings.

File

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

Code

function googleanalytics_update_6006() {
  $ret = array();
  variable_set('googleanalytics_codesnippet_before', variable_get('googleanalytics_codesnippet', ''));
  variable_del('googleanalytics_codesnippet');
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Upgraded custom javascript codesnippet setting.',
  );
  return $ret;
}