Skip to content
Snippets Groups Projects
Commit b295eeb9 authored by jaapjansma's avatar jaapjansma
Browse files

fixed a few typos and removed an exit

parent fda73185
Branches
Tags
No related merge requests found
......@@ -347,10 +347,7 @@ class CRM_Civirules_Form_Rule extends CRM_Core_Form {
'id' => $this->ruleId,
'event_id' => $formValues['rule_event_select']
);
var_dump($this->_submitValues);
var_dump($ruleParams);
$result = CRM_Civirules_BAO_Rule::add($ruleParams);
var_dump($result); exit();
CRM_Civirules_BAO_Rule::add($ruleParams);
}
}
}
......@@ -51,6 +51,6 @@ class CRM_Civirules_Upgrader extends CRM_Civirules_Upgrader_Base {
$params['is_active'] = 1;
$params['created_user_id'] = $userId;
$params['created_date'] = date('Ymd');
CRM_Civirules_BAO_Condition::add($params);
CRM_Civirules_BAO_Action::add($params);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment