X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBookmarklet.php;h=8d64c97e42cb9b1331d2109a33f005d1baa1d0b4;hb=40777d08c198ed5f435a7b029e25ea139de62c16;hp=7a4ea37a7b9c0a608d64d81490c471a9f654b63b;hpb=d2da2492b76fbc77ad11c8a5482e2674381b2af0;p=friendica.git diff --git a/src/Module/Bookmarklet.php b/src/Module/Bookmarklet.php index 7a4ea37a7b..8d64c97e42 100644 --- a/src/Module/Bookmarklet.php +++ b/src/Module/Bookmarklet.php @@ -23,7 +23,6 @@ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Content\PageInfo; -use Friendica\Core\Session; use Friendica\DI; use Friendica\Module\Security\Login; use Friendica\Network\HTTPException; @@ -41,7 +40,7 @@ class Bookmarklet extends BaseModule $config = DI::config(); - if (!Session::getLocalUser()) { + if (!DI::userSession()->getLocalUserId()) { $output = '