mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:10:10 +00:00
Merge pull request #8037 from MrPetovan/bug/notices
Replace remaining $a->page by DI::page()
This commit is contained in:
commit
b9dba631aa
5 changed files with 12 additions and 12 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue