[icinga-checkins] icinga.org: icingaweb2-module-director/master: SyncCheckForm: notify also on check

git at icinga.org git at icinga.org
Tue Jun 28 10:59:41 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 050ed43035b8c658765cb791effba8bac5690860
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=050ed43035b8c658765cb791effba8bac5690860

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Jun 28 10:59:26 2016 +0200

SyncCheckForm: notify also on check

---

 application/forms/SyncCheckForm.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/forms/SyncCheckForm.php b/application/forms/SyncCheckForm.php
index e1ed96d..abf71b1 100644
--- a/application/forms/SyncCheckForm.php
+++ b/application/forms/SyncCheckForm.php
@@ -28,7 +28,7 @@ class SyncCheckForm extends QuickForm
     public function onSuccess()
     {
         if ($this->rule->checkForChanges()) {
-            $this->setSuccessMessage(
+            $this->notifySuccess(
                 $this->translate(('This Sync Rule would apply new changes'))
             );
             $html = '';



More information about the icinga-checkins mailing list