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

Diff of /contributions/modules/last_node/last_node.install

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

revision 1.1, Thu Sep 20 08:37:43 2007 UTC revision 1.1.2.1, Thu Sep 20 08:37:43 2007 UTC
# Line 0  Line 1 
1    <?php
2    function last_node_uninstall(){
3      variable_del('last_node_check');
4      variable_del('last_node_blockhide');
5      //last_node_labelnode_
6      $result = db_query('SELECT name FROM {variable} v WHERE LOCATE("last_node_labelnode_",v.name) > 0');
7      while ($row = db_fetch_object($result)){
8         variable_del($row->name);
9      }
10      //last_node_imagenode_
11      $result = db_query('SELECT name FROM {variable} v WHERE LOCATE("last_node_imagenode_",v.name) > 0');
12      while ($row = db_fetch_object($result)){
13         variable_del($row->name);
14      }
15    }
16    ?>

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

  ViewVC Help
Powered by ViewVC 1.1.2