Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session

This commit is contained in:
Hypolite Petovan 2019-05-13 14:07:02 -04:00
parent e077f30d51
commit 78b651d2e8

View 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'];