comparison report/ad_report.install @ 1:948362c2a207 ad

update advertisement
author pierre
date Thu, 02 Apr 2009 15:28:21 +0000
parents
children
comparison
equal deleted inserted replaced
0:d8a3998dac8e 1:948362c2a207
1 <?php
2 // $Id: ad_report.install,v 1.1.4.2 2009/02/23 22:39:05 jeremy Exp $
3
4 /**
5 * @file
6 * Ad Report database functions.
7 *
8 * Copyright (c) 2008-2009
9 * Jeremy Andrews <jeremy@tag1consulting.com>.
10 */
11
12 /**
13 * Flush the menu cache to register the new ad_report admin menu.
14 */
15 function ad_report_update_5001() {
16 $ret = array();
17 switch ($GLOBALS['db_type']) {
18 case 'mysql':
19 case 'mysqli':
20 default:
21 $ret[] = update_sql('DELETE FROM {cache_menu}');
22 }
23 return $ret;
24 }