function rules_install

Implements hook_install().

File

./rules.install, line 19

Code

function rules_install() {
    module_load_include('inc', 'rules', 'modules/events');
    // Set the modules' weight to 20, see
    // https://www.drupal.org/node/445084#comment-1533280 for the reasoning.
    db_query("UPDATE {system} SET weight = 20 WHERE name = 'rules'");
}