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

Diff of /contributions/modules/nodeaccess/nodeaccess.install

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

revision 1.1.2.5.2.1, Mon Jul 21 23:28:46 2008 UTC revision 1.1.2.5.2.2, Sun Mar 8 00:00:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3    // $Id $
4    
5  /**  /**
6   * Implementation of hook_install().   * Implementation of hook_install().
7   */   */
# Line 143  function nodeaccess_uninstall() { Line 145  function nodeaccess_uninstall() {
145    variable_del('nodeaccess_authors');    variable_del('nodeaccess_authors');
146    foreach (node_get_types() as $type => $name) {    foreach (node_get_types() as $type => $name) {
147      variable_del('nodeaccess_' . $type);      variable_del('nodeaccess_' . $type);
148        variable_del('nodeaccess_' . $type . '_userreference');
149    }    }
150    // Remove tables.    // Remove tables.
151    drupal_uninstall_schema('nodeaccess');    drupal_uninstall_schema('nodeaccess');
152  }  }
153    
154  ?>  

Legend:
Removed from v.1.1.2.5.2.1  
changed lines
  Added in v.1.1.2.5.2.2

  ViewVC Help
Powered by ViewVC 1.1.2