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

Diff of /contributions/modules/views_fastsearch/views_fastsearch.install

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

revision 1.1.2.2, Thu Aug 30 15:26:36 2007 UTC revision 1.1.2.3, Mon Jan 21 20:55:07 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views_fastsearch.install,v 1.1.2.1 2007/06/13 19:32:38 douggreen Exp $  // $Id: views_fastsearch.install,v 1.1.2.2 2007/08/30 15:26:36 douggreen Exp $
3    
4    /**
5     * Implementation of hook_uninstall
6     */
7    function views_fastsearch_uninstall() {
8      variable_del('search_index_unique');
9      variable_del('search_node_links');
10      if ($ranking = module_invoke_all('search_ranking')) {
11        // Ignore the standard node_rankings
12        $ignore = array('node_rank_relevance', 'node_rank_recent', 'node_rank_comments', 'node_rank_views');
13        foreach (array_diff(array_keys($ranking), $ignore) as $rank) {
14          variable_del($rank);
15        }
16      }
17    }
18    
19  function views_fastsearch_update_1() {  function views_fastsearch_update_1() {
20    $ret = array();    $ret = array();
# Line 18  function views_fastsearch_update_1() { Line 33  function views_fastsearch_update_1() {
33    }    }
34    return $ret;    return $ret;
35  }  }
   

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2