Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session
This commit is contained in:
parent
e077f30d51
commit
78b651d2e8
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class Session
|
||||||
$a->getLogger()->info('auth_identities refresh: ' . print_r($a->identities, true));
|
$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)) {
|
if (DBA::isResult($contact)) {
|
||||||
$a->contact = $contact;
|
$a->contact = $contact;
|
||||||
$a->cid = $contact['id'];
|
$a->cid = $contact['id'];
|
||||||
|
|
Loading…
Reference in a new issue