Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
@@ -1242,7 +1242,7 @@ class ApiTest extends DatabaseTest
|
||||
'type' => 'image/png'
|
||||
]
|
||||
];
|
||||
$app = get_app();
|
||||
$app = \get_app();
|
||||
$app->argc = 2;
|
||||
|
||||
$result = api_media_upload();
|
||||
|
||||
Reference in New Issue
Block a user