Merge pull request #8037 from MrPetovan/bug/notices

Replace remaining $a->page by DI::page()
This commit is contained in:
Philipp 2019-12-30 23:41:23 +01:00 committed by GitHub
commit b9dba631aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -930,7 +930,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(),
@ -946,7 +946,7 @@ class Contact extends BaseModule
}
if (DBA::isResult($contact)) {
$a->page['aside'] = '';
DI::page()['aside'] = '';
$profiledata = Model\Contact::getDetailsByURL($contact['url']);
@ -964,7 +964,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']);