function freelinking_update_7002 in Freelinking 7.3
Implements hook_update_N().
Check that the module Advanced help hint has been enabled.
File
- ./
freelinking.install, line 38 - Install, update and uninstall functions for the freelinking module.
Code
function freelinking_update_7002() {
$enabled = module_enable(array(
'advanced_help_hint',
));
if (!$enabled) {
module_disable(array(
'freelinking',
), FALSE);
throw new DrupalUpdateException('Advanced help hint required.');
}
}