From 2bdaf5b44b88e812a99e0a6b0182054b5f0e56cc Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 18 Apr 2022 20:40:16 -0400 Subject: [PATCH] symfony Event no longer exists - DAO --- Civi/Core/DAO/Event/PostDelete.php | 2 +- Civi/Core/DAO/Event/PostUpdate.php | 2 +- Civi/Core/DAO/Event/PreDelete.php | 2 +- Civi/Core/DAO/Event/PreUpdate.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Civi/Core/DAO/Event/PostDelete.php b/Civi/Core/DAO/Event/PostDelete.php index 6fd153b4b7..4df7bba3a3 100644 --- a/Civi/Core/DAO/Event/PostDelete.php +++ b/Civi/Core/DAO/Event/PostDelete.php @@ -15,7 +15,7 @@ namespace Civi\Core\DAO\Event; * Class PostUpdate * @package Civi\Core\DAO\Event */ -class PostDelete extends \Symfony\Component\EventDispatcher\Event { +class PostDelete extends \Civi\Core\Event\GenericHookEvent { /** * @var \CRM_Core_DAO diff --git a/Civi/Core/DAO/Event/PostUpdate.php b/Civi/Core/DAO/Event/PostUpdate.php index 9532932e98..c1d7f39f7c 100644 --- a/Civi/Core/DAO/Event/PostUpdate.php +++ b/Civi/Core/DAO/Event/PostUpdate.php @@ -15,7 +15,7 @@ namespace Civi\Core\DAO\Event; * Class PostUpdate * @package Civi\Core\DAO\Event */ -class PostUpdate extends \Symfony\Component\EventDispatcher\Event { +class PostUpdate extends \Civi\Core\Event\GenericHookEvent { /** * @var \CRM_Core_DAO diff --git a/Civi/Core/DAO/Event/PreDelete.php b/Civi/Core/DAO/Event/PreDelete.php index 0a472ce13e..220371a7bd 100644 --- a/Civi/Core/DAO/Event/PreDelete.php +++ b/Civi/Core/DAO/Event/PreDelete.php @@ -15,7 +15,7 @@ namespace Civi\Core\DAO\Event; * Class PreDelete * @package Civi\Core\DAO\Event */ -class PreDelete extends \Symfony\Component\EventDispatcher\Event { +class PreDelete extends \Civi\Core\Event\GenericHookEvent { /** * @var \CRM_Core_DAO diff --git a/Civi/Core/DAO/Event/PreUpdate.php b/Civi/Core/DAO/Event/PreUpdate.php index 47e73c9c75..e4e24363b5 100644 --- a/Civi/Core/DAO/Event/PreUpdate.php +++ b/Civi/Core/DAO/Event/PreUpdate.php @@ -15,7 +15,7 @@ namespace Civi\Core\DAO\Event; * Class PreDelete * @package Civi\Core\DAO\Event */ -class PreUpdate extends \Symfony\Component\EventDispatcher\Event { +class PreUpdate extends \Civi\Core\Event\GenericHookEvent { /** * @var \CRM_Core_DAO -- 2.25.1