mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
parent
77dfbaa0bf
commit
e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions
|
@ -140,7 +140,7 @@ class ExAuth
|
|||
$this->setHost($aCommand[2]);
|
||||
|
||||
// Now we check if the given user is valid
|
||||
$sUser = str_replace(array('%20', '(a)'), array(' ', '@'), $aCommand[1]);
|
||||
$sUser = str_replace(['%20', '(a)'], [' ', '@'], $aCommand[1]);
|
||||
|
||||
// Does the hostname match? So we try directly
|
||||
if ($a->get_hostname() == $aCommand[2]) {
|
||||
|
@ -220,7 +220,7 @@ class ExAuth
|
|||
$this->setHost($aCommand[2]);
|
||||
|
||||
// We now check if the password match
|
||||
$sUser = str_replace(array('%20', '(a)'), array(' ', '@'), $aCommand[1]);
|
||||
$sUser = str_replace(['%20', '(a)'], [' ', '@'], $aCommand[1]);
|
||||
|
||||
// Does the hostname match? So we try directly
|
||||
if ($a->get_hostname() == $aCommand[2]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue