You are here

function googleanalytics_update_6000 in Google Analytics 6

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

File

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

Code

function googleanalytics_update_6000() {
  $ret = array();
  variable_set('googleanalytics_trackfiles_extensions', variable_get('googleanalytics_trackfiles', GA_TRACKFILES_EXTENSIONS));
  $trackfiles = variable_get('googleanalytics_trackfiles', GA_TRACKFILES_EXTENSIONS) ? TRUE : FALSE;
  variable_set('googleanalytics_trackfiles', $trackfiles);
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Updated download tracking settings.',
  );
  return $ret;
}