diff --git a/application/forms/SyncCheckForm.php b/application/forms/SyncCheckForm.php index 63865889..28ab5e27 100644 --- a/application/forms/SyncCheckForm.php +++ b/application/forms/SyncCheckForm.php @@ -54,7 +54,7 @@ class SyncCheckForm extends DirectorForm $this->addHtml($html); } elseif ($this->rule->get('sync_state') === 'in-sync') { - $this->setSuccessMessage( + $this->notifySuccess( $this->translate('Nothing would change, this rule is still in sync') ); } else { diff --git a/application/forms/SyncRunForm.php b/application/forms/SyncRunForm.php index 91b6869c..864e1f82 100644 --- a/application/forms/SyncRunForm.php +++ b/application/forms/SyncRunForm.php @@ -35,7 +35,7 @@ class SyncRunForm extends DirectorForm $this->translate(('Source has successfully been synchronized')) ); } elseif ($rule->get('sync_state') === 'in-sync') { - $this->setSuccessMessage( + $this->notifySuccess( $this->translate('Nothing changed, rule is in sync') ); } else {