]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Bookmarklet.php
Fix redirect logging
[friendica.git] / src / Module / Bookmarklet.php
index 9db1cc1381ea2918facd523c056acdf6a7cfb4e9..d581b81e85b01360591782038e85ba72d091152d 100644 (file)
@@ -23,7 +23,6 @@ namespace Friendica\Module;
 
 use Friendica\BaseModule;
 use Friendica\Content\PageInfo;
-use Friendica\Core\ACL;
 use Friendica\DI;
 use Friendica\Module\Security\Login;
 use Friendica\Network\HTTPException;
@@ -59,16 +58,6 @@ class Bookmarklet extends BaseModule
                        $content = "\n" . PageInfo::getFooterFromUrl($_REQUEST['url']);
 
                        $x = [
-                               'is_owner'         => true,
-                               'allow_location'   => $app->getUserValue('allow_location'),
-                               'default_location' => $app->getUserValue('default-location'),
-                               'nickname'         => $app->getNickname(),
-                               'lockstate'        => ACL::getLockstateForUserId($app->getUserId()) ? 'lock' : 'unlock',
-                               'default_perms'    => ACL::getDefaultUserPermissions($app->user),
-                               'acl'              => ACL::getFullSelectorHTML(DI::page(), $app->user, true),
-                               'bang'             => '',
-                               'visitor'          => 'block',
-                               'profile_uid'      => local_user(),
                                'title'            => trim($_REQUEST['title'] ?? '', '*'),
                                'content'          => $content
                        ];