]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Fix Scrutinizer issues in mod [_well_know -> contactgroup]
[friendica.git] / mod / amcd.php
old mode 100755 (executable)
new mode 100644 (file)
index a2a1327..c6013b9
@@ -1,8 +1,10 @@
 <?php
 
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
+use Friendica\App;
+
+function amcd_content()
+{
+       echo <<< JSON
 {
   "version":1,
   "sessionstatus":{
@@ -44,6 +46,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
-}
\ No newline at end of file
+JSON;
+       killme();
+}