Skip to content
Snippets Groups Projects
Commit c72fa613 authored by Peter Rotich's avatar Peter Rotich
Browse files

Make lint happy

parent f9abd1f9
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ class CronApiController extends ApiController { ...@@ -6,7 +6,7 @@ class CronApiController extends ApiController {
function execute() { function execute() {
if(!($key=$this->requireApiKey()) || !$key->canExecuteCronJob()) if(!($key=$this->requireApiKey()) || !$key->canExecuteCron())
return $this->exerr(401, 'API key not authorized'); return $this->exerr(401, 'API key not authorized');
$this->run(); $this->run();
......
...@@ -71,7 +71,7 @@ class API { ...@@ -71,7 +71,7 @@ class API {
return ($this->ht['can_create_tickets']); return ($this->ht['can_create_tickets']);
} }
function canExecuteCronjob() { function canExecuteCron() {
return ($this->ht['can_exec_cron']); return ($this->ht['can_exec_cron']);
} }
......
...@@ -261,7 +261,7 @@ class Ticket { ...@@ -261,7 +261,7 @@ class Ticket {
return $this->duedate; return $this->duedate;
} }
function getSLADuedate() { function getSLADueDate() {
return $this->ht['sla_duedate']; return $this->ht['sla_duedate'];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment