]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Merge pull request #7039 from annando/api-reshare-quote
[friendica.git] / mod / amcd.php
index 141a80429887094774fab8bd894095b6a4559a6d..ca5aa07aae20518cc1d2cd3376233c71bf72a2af 100644 (file)
@@ -1,8 +1,8 @@
 <?php
-if(! function_exists('amcd_content')) {
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
+
+function amcd_content()
+{
+       echo <<< JSON
 {
   "version":1,
   "sessionstatus":{
@@ -44,7 +44,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
-}
+JSON;
+       exit();
 }