X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbookmarklet.php;h=c4ef8457044ed64913eb15f3af0c385a69f5c74d;hb=da30538a980264da72a7c370013e60b2cb55aafa;hp=cb8320013f39efc2a11c4908ba7bdc69356899cf;hpb=dac1dbd3e963be0606d8bc29ad6b3085f1c83105;p=friendica.git diff --git a/mod/bookmarklet.php b/mod/bookmarklet.php index cb8320013f..c4ef845704 100644 --- a/mod/bookmarklet.php +++ b/mod/bookmarklet.php @@ -3,12 +3,12 @@ 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) { - if(!local_user()) { +function bookmarklet_content(App $a) { + if (!local_user()) { $o = '

'.t('Login').'

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