From 173960e7177969fcf5d73840fabe10330ab86844 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Tue, 30 May 2023 11:54:07 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06324=20-=20CRUD=20Event=20for=20one=20ti?= =?UTF-8?q?me=20treatment=20before=20creation=20and=20before=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cmdbabstract.class.inc.php | 2 +- core/dbobject.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 4b31f2e12..f1f1ce233 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -5920,7 +5920,7 @@ JS * * @since 3.1.0 */ - final protected function FireEventDeleteDone(): void + final protected function FireEventAfterDelete(): void { $this->NotifyAttachedObjectsOnLinkClassModification(); $this->FireEventDbLinksChangedForCurrentObject(); diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 43e912b43..521033995 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -3824,7 +3824,7 @@ abstract class DBObject implements iDisplay } } - $this->FireEventDeleteDone(); + $this->FireEventAfterDelete(); $this->AfterDelete(); @@ -6093,7 +6093,7 @@ abstract class DBObject implements iDisplay * @return void * @since 3.1.0 */ - protected function FireEventDeleteDone(): void + protected function FireEventAfterDelete(): void { }