From a432c497bda8010a0481f36d2c4dc2dee5640520 Mon Sep 17 00:00:00 2001 From: Sebastian Thulin Date: Thu, 22 Feb 2024 10:47:42 +0100 Subject: [PATCH] fix: change ttl to cacheTtl --- source/php/Modularity/AssignmentForm/AssignmentForm.php | 3 +-- source/php/Modularity/VolunteerForm/VolunteerForm.php | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/source/php/Modularity/AssignmentForm/AssignmentForm.php b/source/php/Modularity/AssignmentForm/AssignmentForm.php index 1b00118..fd1113d 100644 --- a/source/php/Modularity/AssignmentForm/AssignmentForm.php +++ b/source/php/Modularity/AssignmentForm/AssignmentForm.php @@ -18,7 +18,6 @@ class AssignmentForm extends \Modularity\Module { public $slug = 'mod-v-assign-form'; public $supports = []; - private $ttl; public function init() { @@ -26,7 +25,7 @@ public function init() $this->namePlural = __('Assignment Forms', API_VOLUNTEER_MANAGER_INTEGRATION_TEXT_DOMAIN); $this->description = __('Module for Volunteer registration form', API_VOLUNTEER_MANAGER_INTEGRATION_TEXT_DOMAIN); - $this->ttl = false; + $this->cacheTtl = false; } diff --git a/source/php/Modularity/VolunteerForm/VolunteerForm.php b/source/php/Modularity/VolunteerForm/VolunteerForm.php index aadcfed..46be400 100644 --- a/source/php/Modularity/VolunteerForm/VolunteerForm.php +++ b/source/php/Modularity/VolunteerForm/VolunteerForm.php @@ -20,8 +20,7 @@ class VolunteerForm extends \Modularity\Module { public $slug = 'mod-volunteer-form'; public $supports = []; - - private $ttl; + private MyPages $myPages; public function init() @@ -30,7 +29,7 @@ public function init() $this->namePlural = __('Volunteer Forms', API_VOLUNTEER_MANAGER_INTEGRATION_TEXT_DOMAIN); $this->description = __('Module for Volunteer registration form', API_VOLUNTEER_MANAGER_INTEGRATION_TEXT_DOMAIN); - $this->ttl = false; + $this->cacheTtl = false; $this->myPages = new MyPagesService(); }