function googleanalytics_update_6200 in Google Analytics 7
Same name and namespace in other branches
- 6.4 googleanalytics.install \googleanalytics_update_6200()
- 6.2 googleanalytics.install \googleanalytics_update_6200()
- 6.3 googleanalytics.install \googleanalytics_update_6200()
- 7.2 googleanalytics.install \googleanalytics_update_6200()
Remove outdated legacy support variables and files.
File
- ./
googleanalytics.install, line 249 - Installation file for Google Analytics module.
Code
function googleanalytics_update_6200() {
$path = 'public://googleanalytics';
if (file_exists($path)) {
file_unmanaged_delete($path . '/urchin.js');
}
variable_del('googleanalytics_legacy_version');
return t('Removed outdated legacy tracker stuff.');
}