mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 10:57:41 +02:00
DbObject: no change on update is not an error
This commit is contained in:
parent
c0c3d1b16d
commit
a09c34a190
@ -636,7 +636,7 @@ abstract class DbObject
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($this->hasBeenLoadedFromDb()) {
|
if ($this->hasBeenLoadedFromDb()) {
|
||||||
if ($this->updateDb()) {
|
if ($this->updateDb() !== false) {
|
||||||
$result = true;
|
$result = true;
|
||||||
$this->onUpdate();
|
$this->onUpdate();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user