You are here

paranoia.install in Paranoia 6

Same filename and directory in other branches
  1. 8 paranoia.install
  2. 7 paranoia.install

File

paranoia.install
View source
<?php

/**
 * Implementation of hook_enable().
 */
function paranoia_enable() {

  // Disable the php module if it is enabled.
  if (module_exists('php')) {
    module_disable(array(
      'php',
    ));
    drupal_set_message(t('Paranoia module disabled the PHP module.'));
  }
}

Functions

Namesort descending Description
paranoia_enable Implementation of hook_enable().