function piwik_reports_update_6000 in Piwik Reports 7.2
Same name and namespace in other branches
- 6 piwik_reports.install \piwik_reports_update_6000()
Remove dead global period setting, moved into user $_SESSION['piwik_reports_period'] value.
File
- ./
piwik_reports.install, line 11 - Installation file for Piwik Reports module.
Code
function piwik_reports_update_6000() {
$ret = array();
variable_del('piwik_reports_period');
// hook_update_N() no longer returns a $ret array. Instead, return
// nothing or a translated string indicating the update ran successfully.
// See http://drupal.org/node/224333#update_sql.
return t('TODO Add a descriptive string here to show in the UI.');
}