You are here

function rules_update_6004 in Rules 6

Enable the new separated Admin UI module

File

rules/rules.install, line 157
Rules - Installation file.

Code

function rules_update_6004() {
  drupal_install_modules(array(
    'rules_admin',
  ));
  menu_rebuild();
  drupal_clear_css_cache();
  drupal_clear_js_cache();
  rules_clear_cache();
  drupal_set_message(t('The now separated rules administration UI module has been enabled.'));
  return array();
}