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

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

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

revision 1.2, Sun Nov 15 19:22:14 2009 UTC revision 1.3, Mon Nov 16 03:14:34 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: luceneapi_test.install,v 1.1.2.1 2009/09/17 01:21:16 cpliakas Exp $  // $Id: luceneapi_test.install,v 1.2 2009/11/15 19:22:14 cpliakas Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 35  function luceneapi_test_uninstall() { Line 35  function luceneapi_test_uninstall() {
35    
36    // removes all variables that start with "luceneapi_test:"    // removes all variables that start with "luceneapi_test:"
37    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi_test:%%'");    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi_test:%%'");
38    while ($row = db_fetch_object($result)) {    foreach ($result as $row) {
39      variable_del($row->name);      variable_del($row->name);
40    }    }
41  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2