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

Diff of /contributions/modules/notify/notify.install

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

revision 1.4.2.4, Sun Dec 16 12:00:24 2007 UTC revision 1.4.2.5, Tue Feb 3 01:44:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: notify.install,v 1.4.2.3 2007/08/19 22:42:14 augustin Exp $  // $Id: notify.install,v 1.4 2006/12/22 04:27:55 robroy Exp $
3    
4  /**  /**
5   * Implementation of hook_install()   * Implementation of hook_install()
# Line 47  function notify_install() { Line 47  function notify_install() {
47  }  }
48    
49  /**  /**
  * Implementation of hook_uninstall()  
  */  
 function notify_uninstall() {  
   db_query("DROP TABLE {notify}");  
   variable_del('notify_send');  
   variable_del('notify_attempts');  
   variable_del('notify_send_last');  
 }  
   
 /**  
50   * Alter weight of notify to run after scheduler.   * Alter weight of notify to run after scheduler.
51   */   */
52  function notify_update_1() {  function notify_update_1() {
# Line 67  function notify_update_1() { Line 57  function notify_update_1() {
57    // is guaranteed to be an integer.    // is guaranteed to be an integer.
58    $ret[] = update_sql("UPDATE {system} SET weight = $weight WHERE name = 'notify'");    $ret[] = update_sql("UPDATE {system} SET weight = $weight WHERE name = 'notify'");
59    return $ret;    return $ret;
 }  
   
 /**  
  * Clear {cache_menu} after the admin menu changes.  
  */  
 function notify_update_2() {  
   $ret = array();  
   drupal_set_message(t('The settings page for the notify.module is now to be found in Administer > Site configuration > Notification settings.'));  
   return $ret;  
60  }  }

Legend:
Removed from v.1.4.2.4  
changed lines
  Added in v.1.4.2.5

  ViewVC Help
Powered by ViewVC 1.1.2