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

Contents of /contributions/modules/nodereferrer/nodereferrer.install

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


Revision 1.3 - (show annotations) (download) (as text)
Thu Mar 5 03:30:38 2009 UTC (8 months, 3 weeks ago) by andypost
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.2: +5 -1 lines
File MIME type: text/x-php
Little fix to test access
1 <?php
2 //$Id: nodereferrer.install,v 1.2 2009/01/18 21:12:10 dopry Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function nodereferrer_install() {
8 drupal_load('module', 'content');
9 content_notify('install', 'nodereferrer');
10 }
11
12 /**
13 * Implementation of hook_uninstall().
14 */
15 function nodereferrer_uninstall() {
16 drupal_load('module', 'content');
17 content_notify('uninstall', 'nodereferrer');
18 }
19
20 /**
21 * Implementation of hook_enable().
22 */
23 function nodereferrer_enable() {
24 drupal_load('module', 'content');
25 content_notify('enable', 'nodereferrer');
26 }
27
28 /**
29 * Implementation of hook_install().
30 */
31 function nodereferrer_disable() {
32 drupal_load('module', 'content');
33 content_notify('disable', 'nodereferrer');
34 }
35

  ViewVC Help
Powered by ViewVC 1.1.2