Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
@@ -141,7 +141,7 @@ class ExAuth
|
||||
$sUser = str_replace(['%20', '(a)'], [' ', '@'], $aCommand[1]);
|
||||
|
||||
// Does the hostname match? So we try directly
|
||||
if ($a->get_hostname() == $aCommand[2]) {
|
||||
if ($a->getHostName() == $aCommand[2]) {
|
||||
$this->writeLog(LOG_INFO, 'internal user check for ' . $sUser . '@' . $aCommand[2]);
|
||||
$found = DBA::exists('user', ['nickname' => $sUser]);
|
||||
} else {
|
||||
@@ -221,7 +221,7 @@ class ExAuth
|
||||
$sUser = str_replace(['%20', '(a)'], [' ', '@'], $aCommand[1]);
|
||||
|
||||
// Does the hostname match? So we try directly
|
||||
if ($a->get_hostname() == $aCommand[2]) {
|
||||
if ($a->getHostName() == $aCommand[2]) {
|
||||
$this->writeLog(LOG_INFO, 'internal auth for ' . $sUser . '@' . $aCommand[2]);
|
||||
|
||||
$aUser = DBA::selectFirst('user', ['uid', 'password', 'legacy_password'], ['nickname' => $sUser]);
|
||||
|
||||
Reference in New Issue
Block a user