Escape global namespaced get_app() calls

- Add deprecated status
This commit is contained in:
Hypolite Petovan 2018-12-27 19:22:35 -05:00
parent b8030313e5
commit 5e1ceb57de
52 changed files with 135 additions and 133 deletions

View file

@ -406,7 +406,7 @@ class User
*/
public static function create(array $data)
{
$a = get_app();
$a = \get_app();
$return = ['user' => null, 'password' => ''];
$using_invites = Config::get('system', 'invitation_only');
@ -795,7 +795,7 @@ class User
return false;
}
$a = get_app();
$a = \get_app();
Logger::log('Removing user: ' . $uid);