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

Diff of /contributions/modules/luceneapi/contrib/luceneapi_facet/luceneapi_facet.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_facet.install,v 1.1.2.9 2009/10/19 21:55:44 cpliakas Exp $  // $Id: luceneapi_facet.install,v 1.2 2009/11/15 19:22:14 cpliakas Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 23  function luceneapi_facet_install() { Line 23  function luceneapi_facet_install() {
23  function luceneapi_facet_uninstall() {  function luceneapi_facet_uninstall() {
24    // removes all variables that start with "luceneapi_facet:"    // removes all variables that start with "luceneapi_facet:"
25    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi_facet:%%'");    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'luceneapi_facet:%%'");
26    while ($row = db_fetch_object($result)) {    foreach ($result as $row) {
27      variable_del($row->name);      variable_del($row->name);
28    }    }
29  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2