function purl_update_6002 in Persistent URL 7
Same name and namespace in other branches
- 6 purl.install \purl_update_6002()
Install CTools.
File
- ./
purl.install, line 83 - Install, update and uninstall functions for the purl module.
Code
function purl_update_6002() {
module_enable(array(
'ctools',
));
$modules = module_list();
if (!isset($modules['ctools'])) {
throw new DrupalUpdateException(t('Could not enable CTools.'));
}
return t('Enabled CTools successfully.');
}