ad_report.install in Advertisement 5.2
Same filename and directory in other branches
File
report/ad_report.installView source
<?php
/**
* Ad Report database functions.
* Copyright (c) 2008 Jeremy Andrews <jeremy@tag1consulting.com>.
*/
/**
* Flush the menu cache to register the new ad_report admin menu.
*/
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;
}
Functions
Name | Description |
---|---|
ad_report_update_5001 | Flush the menu cache to register the new ad_report admin menu. |