From 53893720635d41b6131ac5cdd8fb610b80b660d4 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Mon, 7 Mar 2022 10:39:07 -0500 Subject: [PATCH] Don't perform event timezone check if CiviEvent is disabled --- CRM/Utils/Check/Component/Event.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CRM/Utils/Check/Component/Event.php b/CRM/Utils/Check/Component/Event.php index 1ac9f94d26d6..c84cc7c9cc02 100644 --- a/CRM/Utils/Check/Component/Event.php +++ b/CRM/Utils/Check/Component/Event.php @@ -5,6 +5,13 @@ */ class CRM_Utils_Check_Component_Event extends CRM_Utils_Check_Component { + /** + * @inheritDoc + */ + public function isEnabled() { + return CRM_Core_Component::isEnabled('CiviEvent'); + } + /** * Check events have timezone set. *