paranoia.install in Paranoia 6
Same filename and directory in other branches
File
paranoia.installView 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
Name | Description |
---|---|
paranoia_enable | Implementation of hook_enable(). |