/[drupal]/contributions/modules/adsense_injector/adsense_injector.install
ViewVC logotype

Contents of /contributions/modules/adsense_injector/adsense_injector.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Fri Jan 2 03:21:06 2009 UTC (10 months, 3 weeks ago) by hswong3i
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
File MIME type: text/x-php
- sync with 6.x-2.x-dev.
1 <?php
2 // $Id: adsense_injector.install,v 1.1.4.3 2009/01/02 03:20:38 hswong3i Exp $
3
4 /**
5 * @file
6 * The install and update code for the adsense injector module.
7 *
8 * @ingroup adsense_injector
9 */
10
11 function adsense_injector_install() {
12 db_query("UPDATE {system} SET weight = 10 WHERE name = 'adsense_injector'");
13 }
14
15 function adsense_injector_update_5000() {
16 $ret = array();
17 $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'adsense_injector'");
18 return $ret;
19 }
20
21 function adsense_injector_update_6000() {
22 // This is just a fork of 5000.
23 $ret = array();
24 $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'adsense_injector'");
25 return $ret;
26 }

  ViewVC Help
Powered by ViewVC 1.1.2