Disable all rules

Public

</> CopyGet raw version
php
  1. db_update('rules_config')
  2. ->fields(array('active' => 0))
  3. ->execute();
  4. rules_clear_cache(TRUE);