You are here

function rules_install in Rules 7.2

Same name and namespace in other branches
  1. 6 rules/rules.install \rules_install()

Implements hook_install().

File

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

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'");
}