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

Contents of /contributions/modules/override_node_options/override_node_options.install

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


Revision 1.1 - (show annotations) (download) (as text)
Sun Jan 11 12:30:32 2009 UTC (10 months, 2 weeks ago) by timmillwood
Branch: MAIN
CVS Tags: DRUPAL-6--1-8, DRUPAL-6--1-9, DRUPAL-6--1-4, DRUPAL-6--1-6, DRUPAL-6--1-7, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/x-php
adding install file
1 <?php
2 // $Id: $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function override_node_options_install() {
8 // nothing to do
9 }
10
11 /**
12 * Implementation of hook_uninstall().
13 */
14 function override_node_options_uninstall() {
15 db_query("DELETE FROM {variable} WHERE name LIKE 'override_node_options_%'");
16 db_query("DELETE FROM {system} WHERE name = 'override_node_options'");
17 // TODO we could be leaving permissions in the permission table, but they're tricky to remove
18 }
19

  ViewVC Help
Powered by ViewVC 1.1.2