merge init() and content()

This commit is contained in:
Philipp Holzer 2019-05-02 23:28:13 +02:00
parent b2ff31da74
commit a9f701b9d6
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

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();