mirror of
https://github.com/friendica/friendica
synced 2025-05-03 21:04:09 +02: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
|
@ -36,7 +36,7 @@ class FKOAuth1 extends OAuthServer
|
|||
public function loginUser($uid)
|
||||
{
|
||||
Logger::log("FKOAuth1::loginUser $uid");
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
$record = DBA::selectFirst('user', [], ['uid' => $uid, 'blocked' => 0, 'account_expired' => 0, 'account_removed' => 0, 'verified' => 1]);
|
||||
|
||||
if (!DBA::isResult($record)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue