<?php
-if(! function_exists('amcd_content')) {
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
+
+use Friendica\App;
+
+function amcd_content()
+{
+ echo <<< JSON
{
"version":1,
"sessionstatus":{
}
}
}
-EOT;
-killme();
-}
+JSON;
+ killme();
}