mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -122,7 +122,7 @@ class ExAuth
|
|||
*/
|
||||
private function isUser(array $aCommand)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
// Check if there is a username
|
||||
if (!isset($aCommand[1])) {
|
||||
|
@ -202,7 +202,7 @@ class ExAuth
|
|||
*/
|
||||
private function auth(array $aCommand)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
// check user authentication
|
||||
if (sizeof($aCommand) != 4) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue