From: Hypolite Petovan Date: Mon, 13 May 2019 18:07:02 +0000 (-0400) Subject: Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78b651d2e89e85af21edc973ca09afa036fc1de6;p=friendica.git Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session --- diff --git a/src/Core/Session.php b/src/Core/Session.php index e3768cbef1..8b6c26bc57 100644 --- a/src/Core/Session.php +++ b/src/Core/Session.php @@ -155,7 +155,7 @@ class Session $a->getLogger()->info('auth_identities refresh: ' . print_r($a->identities, true)); } - $contact = Contact::select([], ['uid' => $user_record['uid'], 'self' => true]); + $contact = DBA::selectFirst('contact', [], ['uid' => $user_record['uid'], 'self' => true]); if (DBA::isResult($contact)) { $a->contact = $contact; $a->cid = $contact['id'];