You are here

function rb_thinktwice_action_disable_module in Rules Bonus Pack 7

The 'rb_thinktwice_action_disable_module' action.

File

./rb_thinktwice.rules.inc, line 107
Rules actions that you should think twice about. Plus some helper functions.

Code

function rb_thinktwice_action_disable_module($module) {
  $module_list[] = $module;
  module_disable($module_list);
}