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

Diff of /contributions/modules/indexpage/indexpage.install

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

revision 1.2, Sat Jul 18 01:19:23 2009 UTC revision 1.3, Mon Sep 21 21:29:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: indexpage.install,v 1.2 2009/07/18 01:19:23 nancyw Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 11  Line 11 
11   * Implementation of hook_uninstall().   * Implementation of hook_uninstall().
12   */   */
13  function indexpage_uninstall() {  function indexpage_uninstall() {
14    $node_types = node_get_types('names');    $node_types = node_type_get_names();
15    foreach ($node_types as $type => $name) {    foreach ($node_types as $type => $name) {
16      variable_del('indexpage_' . $type . '_alphaindex');      variable_del('indexpage_' . $type . '_alphaindex');
17      variable_del('indexpage_' . $type . '_enable');      variable_del('indexpage_' . $type . '_enable');

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

  ViewVC Help
Powered by ViewVC 1.1.2