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

Diff of /contributions/modules/uc_restrict_qty/uc_restrict_qty.install

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

revision 1.1.2.1, Mon Apr 13 11:13:42 2009 UTC revision 1.1.2.2, Mon May 11 17:28:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: uc_restrict_qty.install,v 1.1.2.1 2009/04/13 11:13:42 mrfelton Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 77  function uc_restrict_qty_uninstall() { Line 77  function uc_restrict_qty_uninstall() {
77    
78    db_query("DELETE FROM {variable} WHERE name LIKE 'uc_restrict_qty_%%'");    db_query("DELETE FROM {variable} WHERE name LIKE 'uc_restrict_qty_%%'");
79  }  }
80    
81    /**
82     * Implementation of hook_update_N().
83     *
84    * If updating from an earlier version than 6.x-2.0, the database needs to be installed.
85    */
86    function uc_restrict_qty_update_6200() {
87      $ret = array();
88      uc_restrict_qty_install();
89      return $ret;
90    }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2