Commit d26f91a9 authored by young hahn's avatar young hahn
Browse files

Nicer mesages for update 6200.

parent 3232900b
......@@ -23,5 +23,9 @@ function strongarm_update_6100() {
*/
function strongarm_update_6200() {
drupal_install_modules(array('ctools'));
return array();
$modules = module_list();
if (!isset($modules['ctools'])) {
return array('#abort' => array('success' => FALSE, 'query' => 'Could not enable CTools.'));
}
return array(array('success' => TRUE, 'query' => 'Enabled CTools successfully.'));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment