X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FContact.php;h=d618e2486a5c96235dd6cf86b2ba69a4930af8ae;hb=af88c2daa34e39cb6430abf64d0648665bfeb9cd;hp=98aa46a8b4cd78aa7751ab8030849a8cf6f526ed;hpb=3f3422975266835fc125d1d61aae85ccc10d96d9;p=friendica.git diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 98aa46a8b4..d618e2486a 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -27,8 +27,6 @@ use Friendica\Util\Strings; /** * Manages and show Contacts and their content - * - * @brief manages contacts */ class Contact extends BaseModule { @@ -837,7 +835,7 @@ class Contact extends BaseModule } /** - * @brief List of pages for the Contact TabBar + * List of pages for the Contact TabBar * * Available Pages are 'Status', 'Profile', 'Contacts' and 'Common Friends' * @@ -930,7 +928,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 +944,7 @@ class Contact extends BaseModule } if (DBA::isResult($contact)) { - $a->page['aside'] = ''; + DI::page()['aside'] = ''; $profiledata = Model\Contact::getDetailsByURL($contact['url']); @@ -964,7 +962,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']); @@ -1049,7 +1047,7 @@ class Contact extends BaseModule } /** - * @brief Gives a array with actions which can performed to a given contact + * Gives a array with actions which can performed to a given contact * * This includes actions like e.g. 'block', 'hide', 'archive', 'delete' and others *