X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbookmarklet.php;h=c4ef8457044ed64913eb15f3af0c385a69f5c74d;hb=caad9f5214f9f8c94e487629007b0f33c1b2008d;hp=86a73a788428d59158fff219cce5a44f743ccb56;hpb=0436782e70f496c96f30ee7822865f777ae1d73e;p=friendica.git diff --git a/mod/bookmarklet.php b/mod/bookmarklet.php index 86a73a7884..c4ef845704 100644 --- a/mod/bookmarklet.php +++ b/mod/bookmarklet.php @@ -3,11 +3,11 @@ require_once('include/conversation.php'); require_once('include/items.php'); -function bookmarklet_init(&$a) { +function bookmarklet_init(App $a) { $_GET["mode"] = "minimal"; } -function bookmarklet_content(&$a) { +function bookmarklet_content(App $a) { if (!local_user()) { $o = '

'.t('Login').'

'; $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);