]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Merge pull request #3483 from rabuzarus/20170522_-_frio_event_button_fix
[friendica.git] / mod / amcd.php
index a2a1327e6df8b47c5452eb2fe0e1780294b26988..0eb295a816058a771a8ab18e51995a9cdd0bb182 100644 (file)
@@ -1,8 +1,9 @@
 <?php
 
-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,6 +45,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
+JSON;
+       killme();
 }
\ No newline at end of file