mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
parent
5f9dd11cfb
commit
5a02e39a65
94 changed files with 481 additions and 338 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue