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

Diff of /contributions/modules/valuelist/valuelist.install

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

revision 1.1, Tue Feb 26 15:28:39 2008 UTC revision 1.1.2.1, Tue Feb 26 15:28:39 2008 UTC
# Line 0  Line 1 
1    <?php
2    //$Id$
3    
4    /**
5     * Implementation of hook_uninstall().
6     */
7    function valuelist_uninstall() {
8      //Delete all system variables beginning with 'valuelist_':
9    
10      $results = db_query("SELECT `name` FROM {variable} WHERE `name` LIKE 'valuelist_%'");
11      while ($row = db_fetch_array($results)) {
12        variable_del($row['name']);
13      }
14    }
15    ?>

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

  ViewVC Help
Powered by ViewVC 1.1.2