Mercurial > defr > drupal > popups
comparison popups.install @ 0:76f9b43738f2
Popups 2.0-alpha5
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 31 Dec 2010 13:41:08 +0100 |
parents | |
children | 4215c43e74eb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:76f9b43738f2 |
---|---|
1 <?php | |
2 // $Id: popups.install,v 1.4.8.2 2009/03/05 19:52:48 starbow Exp $ | |
3 | |
4 /** | |
5 * @file | |
6 */ | |
7 | |
8 /** | |
9 * Implementation of hook_install(). | |
10 * | |
11 * Ensures popups runs after everything else, since it short circuits in hook_init. | |
12 */ | |
13 function popups_install() { | |
14 db_query("UPDATE {system} SET weight = %d WHERE name = 'popups'", 9999); | |
15 } |