function ad_report_update_5001 in Advertisement 5.2
Flush the menu cache to register the new ad_report admin menu.
File
- report/
ad_report.install, line 11
Code
function ad_report_update_5001() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
default:
$ret[] = update_sql('DELETE FROM {cache_menu}');
}
return $ret;
}