/** * @throws Tracker_Workflow_GlobalRulesViolationException */ public function checkGlobalRules(array $fields_data) { if ($this->disabled) { return true; } if (!$this->global_rules_manager->validate($this->tracker_id, $fields_data)) { throw new Tracker_Workflow_GlobalRulesViolationException(); } }