You are here

function paranoia_enable in Paranoia 6

Same name and namespace in other branches
  1. 7 paranoia.install \paranoia_enable()

Implementation of hook_enable().

File

./paranoia.install, line 6

Code

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.'));
  }
}