]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Merge pull request #3949 from annando/further-information
[friendica.git] / mod / amcd.php
index 141a80429887094774fab8bd894095b6a4559a6d..0eb295a816058a771a8ab18e51995a9cdd0bb182 100644 (file)
@@ -1,8 +1,9 @@
 <?php
-if(! function_exists('amcd_content')) {
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
+
+use Friendica\App;
+
+function amcd_content(App $a) {
+       echo <<< JSON
 {
   "version":1,
   "sessionstatus":{
@@ -44,7 +45,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
-}
-}
+JSON;
+       killme();
+}
\ No newline at end of file