File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ public function indexAction(): void
86
86
->on (EventRuleConfigForm::ON_DISCARD , function () use ($ config ) {
87
87
$ ruleId = $ config ['id ' ];
88
88
$ this ->sessionNamespace ->delete ($ ruleId );
89
+ Notification::success (sprintf (t ('Successfully discarded changes to event rule %s ' ), $ config ['name ' ]));
89
90
$ this ->redirectNow (Links::eventRule ($ ruleId ));
90
91
})
91
92
->on (EventRuleConfigForm::ON_CHANGE , function (EventRuleConfigForm $ form ) use ($ config ) {
92
- $ formValues = $ form ->getValues ();
93
93
$ config = array_merge ($ config , $ form ->getValues ());
94
94
$ this ->sessionNamespace ->set ($ config ['id ' ], $ config );
95
95
})
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ protected function assemble()
163
163
for ($ i = 1 ; $ i <= $ escalationCount ; $ i ++) {
164
164
$ escalationCondition = new EscalationCondition ('escalation-condition_ ' . $ i );
165
165
$ escalationRecipient = new EscalationRecipient ('escalation-recipient_ ' . $ i );
166
-
167
166
$ this ->registerElement ($ escalationCondition );
168
167
$ this ->registerElement ($ escalationRecipient );
169
168
You can’t perform that action at this time.
0 commit comments