function lockr_enable in Lockr 7.2
Same name and namespace in other branches
- 7.3 lockr.install \lockr_enable()
- 7 lockr.install \lockr_enable()
Implements hook_enable().
File
- ./
lockr.install, line 11 - Install, uninstall, and update functions for lockr.
Code
function lockr_enable() {
if (module_exists('lockr_pantheon')) {
module_disable(array(
'lockr_pantheon',
));
drupal_set_message(t('We have disabled the previous version of Lockr. All existing keys and settings have been migrated successfully.'), 'warning');
}
}