function workbench_moderation_update_7300 in Workbench Moderation 7.3
Enable the Drafty module, a new dependency.
File
- ./
workbench_moderation.install, line 677 - Install file for the Workbench Moderation module.
Code
function workbench_moderation_update_7300() {
if (module_enable(array(
'drafty',
))) {
drupal_set_message(t('The Drafty module has been enabled.'));
}
else {
throw new DrupalUpdateException('Unable to enable the Drafty module, it is a new dependency that must be downloaded.');
}
}