]> git.mxchange.org Git - friendica.git/blobdiff - mod/bookmarklet.php
Merge pull request #2676 from tobiasd/20160713-lighttpdconfig
[friendica.git] / mod / bookmarklet.php
index 4db6bf401eef49d976e2f6e5f18c3abbb5590fb4..be8645c1fde901924032a4e88e48397d58f6a1c4 100644 (file)
@@ -1,14 +1,12 @@
 <?php
+
 require_once('include/conversation.php');
 require_once('include/items.php');
 
-if(! function_exists('bookmarklet_init')) {
 function bookmarklet_init(&$a) {
        $_GET["mode"] = "minimal";
 }
-}
 
-if(! function_exists('bookmarklet_content')) {
 function bookmarklet_content(&$a) {
        if(!local_user()) {
                $o = '<h2>'.t('Login').'</h2>';
@@ -46,4 +44,3 @@ function bookmarklet_content(&$a) {
 
        return $o;
 }
-}