You are here

function piwik_update_6001 in Piwik Web Analytics 7

Same name and namespace in other branches
  1. 5 piwik.install \piwik_update_6001()
  2. 6.2 piwik.install \piwik_update_6001()
  3. 6 piwik.install \piwik_update_6001()
  4. 7.2 piwik.install \piwik_update_6001()

Upgrade custom javascript settings.

File

./piwik.install, line 114
Installation file for Piwik - Web analytics module.

Code

function piwik_update_6001() {
  variable_set('piwik_codesnippet_before', variable_get('piwik_codesnippet', ''));
  variable_del('piwik_codesnippet');
  return t('Upgraded custom javascript codesnippet setting.');
}