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

Diff of /contributions/modules/jgrowl/jgrowl.install

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

revision 1.1, Sun Sep 21 04:34:07 2008 UTC revision 1.2, Sun Sep 28 01:20:11 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: $  // $Id: jgrowl.install,v 1.1 2008/09/21 04:34:07 stevemckenzie Exp $
3    
4  /**  /**
5   *   *
# Line 14  Line 14 
14  function jgrowl_install() {  function jgrowl_install() {
15    // Always keep jgrowl last so we can grab all the messages.    // 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"));    $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);    db_query("UPDATE {system} SET weight = %d WHERE name = 'jgrowl'", $weight + 100);
18  }  }
19    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2