function googleanalytics_update_6006 in Google Analytics 6
Same name and namespace in other branches
- 5 googleanalytics.install \googleanalytics_update_6006()
- 6.4 googleanalytics.install \googleanalytics_update_6006()
- 6.2 googleanalytics.install \googleanalytics_update_6006()
- 6.3 googleanalytics.install \googleanalytics_update_6006()
- 7.2 googleanalytics.install \googleanalytics_update_6006()
- 7 googleanalytics.install \googleanalytics_update_6006()
Upgrade custom javascript settings.
File
- ./
googleanalytics.install, line 217 - 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;
}