function googleanalytics_update_6200 in Google Analytics 6.4
Same name and namespace in other branches
- 6.2 googleanalytics.install \googleanalytics_update_6200()
- 6.3 googleanalytics.install \googleanalytics_update_6200()
- 7.2 googleanalytics.install \googleanalytics_update_6200()
- 7 googleanalytics.install \googleanalytics_update_6200()
Remove outdated legacy support variables and files.
File
- ./
googleanalytics.install, line 278 - Installation file for Google Analytics module.
Code
function googleanalytics_update_6200() {
$ret = array();
$path = file_directory_path() . '/googleanalytics';
if (file_exists($path)) {
file_delete($path . '/urchin.js');
}
variable_del('googleanalytics_legacy_version');
$ret[] = array(
'success' => TRUE,
'query' => 'Removed legacy support.',
);
return $ret;
}