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

Make lint happy

parent f9abd1f9
Branches
Tags
No related merge requests found
......@@ -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();
......
......@@ -71,7 +71,7 @@ class API {
return ($this->ht['can_create_tickets']);
}
function canExecuteCronjob() {
function canExecuteCron() {
return ($this->ht['can_exec_cron']);
}
......
......@@ -261,7 +261,7 @@ class Ticket {
return $this->duedate;
}
function getSLADuedate() {
function getSLADueDate() {
return $this->ht['sla_duedate'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment