From 8ed61bd0631d78c26819acc8cc01d074dfe2bf74 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Wed, 22 Jul 2026 16:12:03 +0200 Subject: [PATCH] minor mod --- .../controllers/api/frontend/v1/coodle/CoodleSurvey.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/api/frontend/v1/coodle/CoodleSurvey.php b/application/controllers/api/frontend/v1/coodle/CoodleSurvey.php index 70e24baf4..d273b625d 100644 --- a/application/controllers/api/frontend/v1/coodle/CoodleSurvey.php +++ b/application/controllers/api/frontend/v1/coodle/CoodleSurvey.php @@ -754,7 +754,7 @@ class CoodleSurvey extends FHCAPI_Controller public function getCoodleIcal($uid) { - $coodleIcalFilePath = $this->_getCoodleIcal($uid, false); + $coodleIcalFilePath = $this->generateCoodleIcal($uid, false); $this->terminateWithFileOutput("text/calendar", file_get_contents($coodleIcalFilePath), "coodle_ical.ics"); } @@ -769,7 +769,7 @@ class CoodleSurvey extends FHCAPI_Controller $uid = trim($this->cryptlib->RIJNDAEL_256_ECB_DECRYPT($decodedData, LVPLAN_CYPHER_KEY, true)); - $coodleIcalFilePath = $this->_getCoodleIcal($uid, true); + $coodleIcalFilePath = $this->generateCoodleIcal($uid, true); $this->terminateWithFileOutput("text/calendar", file_get_contents($coodleIcalFilePath), "coodle_ical.ics"); } @@ -912,7 +912,7 @@ class CoodleSurvey extends FHCAPI_Controller fwrite($calendarFile, "END:VCALENDAR"); } - private function _getCoodleIcal($uid, $shouldIncludeIdentifyingInformation) + private function generateCoodleIcal($uid, $shouldIncludeIdentifyingInformation) { $activeParticipantEntries = $this->CoodleSurveyParticipantModel->getActiveParticipantEntriesByUid($uid); $selectedTimeslotIds = [];