function piwik_update_6001 in Piwik Web Analytics 5
Same name and namespace in other branches
- 6.2 piwik.install \piwik_update_6001()
- 6 piwik.install \piwik_update_6001()
- 7.2 piwik.install \piwik_update_6001()
- 7 piwik.install \piwik_update_6001()
Upgrade custom javascript settings.
File
- ./
piwik.install, line 108 - Installation file for Piwik - Web analytics module.
Code
function piwik_update_6001() {
$ret = array();
variable_set('piwik_codesnippet_before', variable_get('piwik_codesnippet', ''));
variable_del('piwik_codesnippet');
$ret[] = array(
'success' => TRUE,
'query' => 'Upgraded custom javascript codesnippet setting.',
);
return $ret;
}