]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Enable CalendarExport widget on /events
[friendica.git] / mod / network.php
index 9e1a05a1121915f173a1295c3832bd0f4d4741ea..4ab773bd324e93da16fd388fc9a0ebd5c5a7b56f 100644 (file)
@@ -9,7 +9,7 @@ use Friendica\Content\Feature;
 use Friendica\Content\ForumManager;
 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;
@@ -427,8 +427,8 @@ function networkFlatView(App $a, $update = 0)
                        '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'),
-                       'default_perms' => Acl::getDefaultUserPermissions($a->user),
-                       'acl' => Acl::getFullSelectorHTML($a->user, true),
+                       'default_perms' => ACL::getDefaultUserPermissions($a->user),
+                       'acl' => ACL::getFullSelectorHTML($a->user, true),
                        'bang' => '',
                        'visitor' => 'block',
                        'profile_uid' => local_user(),
@@ -576,8 +576,8 @@ function networkThreadedView(App $a, $update, $parent)
                        'lockstate' => ((($gid) || ($cid) || ($nets) || (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'),
-                       'default_perms' => Acl::getDefaultUserPermissions($a->user),
-                       'acl' => Acl::getFullSelectorHTML((($gid || $cid || $nets) ? $def_acl : $a->user), true),
+                       'default_perms' => ACL::getDefaultUserPermissions($a->user),
+                       'acl' => ACL::getFullSelectorHTML((($gid || $cid || $nets) ? $def_acl : $a->user), true),
                        'bang' => (($gid || $cid || $nets) ? '!' : ''),
                        'visitor' => 'block',
                        'profile_uid' => local_user(),