projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dedf33a
)
Don't perform event timezone check if CiviEvent is disabled
author
Jon Goldberg
<jon@megaphonetech.com>
Mon, 7 Mar 2022 15:39:07 +0000
(10:39 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Wed, 9 Mar 2022 20:14:01 +0000
(15:14 -0500)
CRM/Utils/Check/Component/Event.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Check/Component/Event.php
b/CRM/Utils/Check/Component/Event.php
index 1ac9f94d26d687a5af3ddf43f8eb5f4333d724ac..c84cc7c9cc0201a0167c6350540f14a36ac89fbf 100644
(file)
--- 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.
*