From a9f701b9d62ff66ef512cc1dd0256be356954fb5 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 2 May 2019 23:28:13 +0200 Subject: [PATCH] merge init() and content() --- src/Module/BookMarklet.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Module/BookMarklet.php b/src/Module/BookMarklet.php index de1de41735..51feb25d7b 100644 --- a/src/Module/BookMarklet.php +++ b/src/Module/BookMarklet.php @@ -14,13 +14,10 @@ use Friendica\Util\Strings; */ class BookMarklet extends BaseModule { - public static function init() - { - $_GET['mode'] = 'minimal'; - } - public static function content() { + $_GET['mode'] = 'minimal'; + $app = self::getApp(); $config = $app->getConfig();