]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
Decrease scope of query in Profile::getEventsReminderHTML
[friendica.git] / mod / profile.php
index 6e8de352776a6a0ea0c524087bb79d7d23cb86a1..ab11b4d5fe509850c97c48fdc9e4346feb9f9215 100644 (file)
@@ -6,7 +6,7 @@
 use Friendica\App;
 use Friendica\Content\Nav;
 use Friendica\Content\Widget;
-use Friendica\Core\Acl;
+use Friendica\Core\ACL;
 use Friendica\Core\Addon;
 use Friendica\Core\Config;
 use Friendica\Core\L10n;
@@ -119,7 +119,6 @@ function profile_content(App $a, $update = 0)
 
        require_once 'include/security.php';
        require_once 'include/conversation.php';
-       require_once 'include/acl_selectors.php';
        require_once 'include/items.php';
 
        $groups = [];
@@ -214,7 +213,7 @@ function profile_content(App $a, $update = 0)
                                                || strlen($a->user['deny_cid'])
                                                || strlen($a->user['deny_gid'])
                                        ) ? 'lock' : 'unlock',
-                               'acl' => $is_owner ? Acl::getFullSelectorHTML($a->user, true) : '',
+                               'acl' => $is_owner ? ACL::getFullSelectorHTML($a->user, true) : '',
                                'bang' => '',
                                'visitor' => $is_owner || $commvisitor ? 'block' : 'none',
                                'profile_uid' => $a->profile['profile_uid'],