]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Merge pull request #8135 from annando/brief
[friendica.git] / src / Module / Contact.php
index 98aa46a8b4cd78aa7751ab8030849a8cf6f526ed..d618e2486a5c96235dd6cf86b2ba69a4930af8ae 100644 (file)
@@ -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
         *