]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/WebFinger/WebFingerPlugin.php
Introduced common_location_shared() to check if location sharing is always,
[quix0rs-gnu-social.git] / plugins / WebFinger / WebFingerPlugin.php
index c2a9c69d0c9342adb0922967455de308397ca3a1..53a530333d59b925c654d3100234336b75b138bf 100644 (file)
@@ -65,7 +65,7 @@ class WebFingerPlugin extends Plugin
             $login = true;
             return false;
         }
-        
+
         return true;
     }
 
@@ -148,7 +148,7 @@ class WebFingerPlugin extends Plugin
             $url = common_local_url('webfinger') . '?resource='.$acct;
 
             foreach (array(Discovery::JRD_MIMETYPE, Discovery::XRD_MIMETYPE) as $type) {
-                header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="'.$type.'"');
+                header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="'.$type.'"', false);
             }
         }
     }