]> git.mxchange.org Git - friendica.git/commitdiff
Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 13 May 2019 18:07:02 +0000 (14:07 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 13 May 2019 18:07:02 +0000 (14:07 -0400)
src/Core/Session.php

index e3768cbef135834f3a5c1187fd5a121e60511316..8b6c26bc57ee4b18a60f3074ce279a6eec8a16bf 100644 (file)
@@ -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'];