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

Lint - undefined object methods

parent 87380fe4
No related branches found
No related tags found
No related merge requests found
<?php
/*************************************************************************
/*******************************************************************
class.osticket.php
osTicket (sys) -> Config.
......@@ -39,7 +39,7 @@ class osTicket {
}
function isSystemOnline() {
return ($this->getConfig() && $this->getConfig()->isHelpdeskOnline() && !$this->isUpgradePending());
return ($this->getConfig() && $this->getConfig()->isHelpDeskOnline() && !$this->isUpgradePending());
}
function isUpgradePending() {
......
......@@ -71,7 +71,7 @@ if(!$thisstaff->isAdmin()) {
}
//Staff are not allowed to login in offline mode!!
if(!$ost->isSystemOffline() || $ost->isUpgradePending()) {
if(!$ost->isSystemOnline() || $ost->isUpgradePending()) {
staffLoginPage('System Offline');
exit;
}
......
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