From c72fa6139a384967020043c3bceb9a8bafc1d9e8 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Sat, 23 Feb 2013 13:30:57 -0500 Subject: [PATCH] Make lint happy --- include/api.cron.php | 2 +- include/class.api.php | 2 +- include/class.ticket.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/api.cron.php b/include/api.cron.php index 912fff410..32d1b0aef 100644 --- a/include/api.cron.php +++ b/include/api.cron.php @@ -6,7 +6,7 @@ class CronApiController extends ApiController { function execute() { - if(!($key=$this->requireApiKey()) || !$key->canExecuteCronJob()) + if(!($key=$this->requireApiKey()) || !$key->canExecuteCron()) return $this->exerr(401, 'API key not authorized'); $this->run(); diff --git a/include/class.api.php b/include/class.api.php index dd0706cea..6fc0445e5 100644 --- a/include/class.api.php +++ b/include/class.api.php @@ -71,7 +71,7 @@ class API { return ($this->ht['can_create_tickets']); } - function canExecuteCronjob() { + function canExecuteCron() { return ($this->ht['can_exec_cron']); } diff --git a/include/class.ticket.php b/include/class.ticket.php index a7a16e464..7a8e514fc 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -261,7 +261,7 @@ class Ticket { return $this->duedate; } - function getSLADuedate() { + function getSLADueDate() { return $this->ht['sla_duedate']; } -- GitLab