Replace remaining $a->page by DI::page()

This commit is contained in:
Hypolite Petovan 2019-12-30 17:35:01 -05:00
parent f2da1c5ab9
commit e84ad15569
5 changed files with 12 additions and 12 deletions

View file

@ -931,7 +931,7 @@ class Contact extends BaseModule
'default_location' => $a->user['default-location'],
'nickname' => $a->user['nickname'],
'lockstate' => (is_array($a->user) && (strlen($a->user['allow_cid']) || strlen($a->user['allow_gid']) || strlen($a->user['deny_cid']) || strlen($a->user['deny_gid'])) ? 'lock' : 'unlock'),
'acl' => ACL::getFullSelectorHTML($a->page, $a->user, true),
'acl' => ACL::getFullSelectorHTML(DI::page(), $a->user, true),
'bang' => '',
'visitor' => 'block',
'profile_uid' => local_user(),
@ -947,7 +947,7 @@ class Contact extends BaseModule
}
if (DBA::isResult($contact)) {
$a->page['aside'] = '';
DI::page()['aside'] = '';
$profiledata = Model\Contact::getDetailsByURL($contact['url']);
@ -965,7 +965,7 @@ class Contact extends BaseModule
$o = self::getTabsHTML($a, $contact, 2);
if (DBA::isResult($contact)) {
$a->page['aside'] = '';
DI::page()['aside'] = '';
$profiledata = Model\Contact::getDetailsByURL($contact['url']);