Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
@@ -15,7 +15,7 @@ use Friendica\Module\Login;
|
||||
|
||||
function user_allow($hash)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$register = Register::getByHash($hash);
|
||||
if (!DBA::isResult($register)) {
|
||||
|
||||
Reference in New Issue
Block a user