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

Contents of /contributions/modules/jgrowl/jgrowl.install

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


Revision 1.3 - (show annotations) (download) (as text)
Fri Dec 12 22:10:45 2008 UTC (11 months, 1 week ago) by stevemckenzie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
File MIME type: text/x-php
updating head with latest.
1 <?php
2 // $Id: jgrowl.install,v 1.1.2.1 2008/09/29 16:37:30 stevemckenzie Exp $
3
4 /**
5 *
6 * @file
7 * Module install file.
8 *
9 */
10
11 /**
12 * Implementation of hook_install().
13 */
14 function jgrowl_install() {
15 // Always keep jgrowl last so we can grab all the messages.
16 $weight = db_result(db_query("SELECT weight FROM {system} ORDER BY weight DESC LIMIT 1"));
17 db_query("UPDATE {system} SET weight = %d WHERE name = 'jgrowl'", $weight + 100);
18 }
19

  ViewVC Help
Powered by ViewVC 1.1.2