merge init() and content()

This commit is contained in:
Philipp Holzer
2019-05-02 23:28:13 +02:00
parent b2ff31da74
commit a9f701b9d6

View File

@@ -14,13 +14,10 @@ use Friendica\Util\Strings;
*/ */
class BookMarklet extends BaseModule class BookMarklet extends BaseModule
{ {
public static function init()
{
$_GET['mode'] = 'minimal';
}
public static function content() public static function content()
{ {
$_GET['mode'] = 'minimal';
$app = self::getApp(); $app = self::getApp();
$config = $app->getConfig(); $config = $app->getConfig();