Mercurial > defr > drupal > popups
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/popups.install Fri Dec 31 13:41:08 2010 +0100 @@ -0,0 +1,15 @@ +<?php +// $Id: popups.install,v 1.4.8.2 2009/03/05 19:52:48 starbow Exp $ + +/** + * @file + */ + +/** + * Implementation of hook_install(). + * + * Ensures popups runs after everything else, since it short circuits in hook_init. + */ +function popups_install() { + db_query("UPDATE {system} SET weight = %d WHERE name = 'popups'", 9999); +} \ No newline at end of file