Replace remaining $a->page by DI::page()
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user