From 748513485731d9f69f44129140df1698bcb2f29f Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sat, 20 Feb 2021 09:15:36 -0500 Subject: [PATCH] non static function called statically --- CRM/Event/ICalendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/ICalendar.php b/CRM/Event/ICalendar.php index c68fa5481d..7b30c95439 100644 --- a/CRM/Event/ICalendar.php +++ b/CRM/Event/ICalendar.php @@ -12,7 +12,7 @@ /** * Class to generate various "icalendar" type event feeds */ -class CRM_Event_ICalendar extends CRM_Core_Page { +class CRM_Event_ICalendar { /** * Heart of the iCalendar data assignment process. The runner gets all the meta @@ -21,7 +21,7 @@ class CRM_Event_ICalendar extends CRM_Core_Page { * Else outputs iCalendar format per IETF RFC2445. Page param true means send * to browser as inline content. Else, we send .ics file as attachment. */ - public function run() { + public static function run() { $id = CRM_Utils_Request::retrieveValue('id', 'Positive', NULL, FALSE, 'GET'); $type = CRM_Utils_Request::retrieveValue('type', 'Positive', 0); $start = CRM_Utils_Request::retrieveValue('start', 'Positive', 0); -- 2.25.1