| 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 |
}
|