Skip to content

Commit

Permalink
fix: change ttl to cacheTtl
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Feb 22, 2024
1 parent 909f87a commit a432c49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions source/php/Modularity/AssignmentForm/AssignmentForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ class AssignmentForm extends \Modularity\Module
{
public $slug = 'mod-v-assign-form';
public $supports = [];
private $ttl;

public function init()
{
$this->nameSingular = __('Assignment Form', API_VOLUNTEER_MANAGER_INTEGRATION_TEXT_DOMAIN);
$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;
}


Expand Down
5 changes: 2 additions & 3 deletions source/php/Modularity/VolunteerForm/VolunteerForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ class VolunteerForm extends \Modularity\Module
{
public $slug = 'mod-volunteer-form';
public $supports = [];

private $ttl;

private MyPages $myPages;

public function init()
Expand All @@ -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();
}

Expand Down

0 comments on commit a432c49

Please sign in to comment.