Revert Use Contact::select() instead of DBA::select(‘contact) in Core\Session
This commit is contained in:
parent
e077f30d51
commit
78b651d2e8
|
@ -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 New Issue
Block a user