]> git.mxchange.org Git - friendica.git/blobdiff - mod/noscrape.php
Merge develop into 0308-Notifications-restructure
[friendica.git] / mod / noscrape.php
index 42931cf382bbab2319ce1b21c23443879300e523..2a04605469b845745755b2bce39eb3a5f9472972 100644 (file)
@@ -15,11 +15,11 @@ function noscrape_init(&$a) {
 
        profile_load($a,$which,$profile);
 
-       if(!$a->profile['net-publish']) {
+       if (!$a->profile['net-publish'] OR $a->profile['hidewall']) {
                header('Content-type: application/json; charset=utf-8');
                $json_info = array("hide" => true);
                echo json_encode($json_info);
-               killme();
+               exit;
        }
 
        $keywords = ((x($a->profile,'pub_keywords')) ? $a->profile['pub_keywords'] : '');