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(); }