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

Diff of /contributions/modules/luceneapi/luceneapi.install

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

revision 1.12, Sun Nov 15 20:17:50 2009 UTC revision 1.13, Mon Nov 16 03:14:34 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: luceneapi.install,v 1.11 2009/11/15 19:22:13 cpliakas Exp $  // $Id: luceneapi.install,v 1.12 2009/11/15 20:17:50 cpliakas Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 74  function luceneapi_uninstall() { Line 74  function luceneapi_uninstall() {
74    
75    // removes all variables that start with "luceneapi:"    // removes all variables that start with "luceneapi:"
76    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi:%%'");    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi:%%'");
77    while ($row = db_fetch_object($result)) {    foreach ($result as $row) {
78      variable_del($row->name);      variable_del($row->name);
79    }    }
80  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.2