mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +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
|
@ -1242,7 +1242,7 @@ class ApiTest extends DatabaseTest
|
|||
'type' => 'image/png'
|
||||
]
|
||||
];
|
||||
$app = get_app();
|
||||
$app = \get_app();
|
||||
$app->argc = 2;
|
||||
|
||||
$result = api_media_upload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue