From: Philipp Holzer Date: Thu, 2 May 2019 21:28:13 +0000 (+0200) Subject: merge init() and content() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9f701b9d62ff66ef512cc1dd0256be356954fb5;p=friendica.git merge init() and content() --- 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() + public static function content() { $_GET['mode'] = 'minimal'; - } - public static function content() - { $app = self::getApp(); $config = $app->getConfig();