SyncForms: restore notifications on "no change"
This commit is contained in:
parent
9c9a5b5b93
commit
9cdfc3d3be
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue