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