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

Contents of /contributions/modules/paranoia/paranoia.install

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Jan 13 21:07:43 2009 UTC (10 months, 1 week ago) by killes
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
#209166, port to D6 by Jody Lynn
1 <?php
2 // $Id$
3
4 /**
5 * Implementation of hook_enable().
6 */
7 function paranoia_enable() {
8 // Disable the php module if it is enabled.
9 if (module_exists('php')) {
10 module_disable(array('php'));
11 drupal_set_message(t('Paranoia module disabled the PHP module.'));
12 }
13 }

  ViewVC Help
Powered by ViewVC 1.1.2