]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
add dop event & fix event edit
[friendica.git] / mod / amcd.php
index 141a80429887094774fab8bd894095b6a4559a6d..5f9f97e3f13507c12e1d0bf2d40043b3185b652f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
-if(! function_exists('amcd_content')) {
-function amcd_content(&$a) {
+
+function amcd_content(App $a) {
 //header("Content-type: text/json");
 echo <<< EOT
 {
@@ -46,5 +46,4 @@ echo <<< EOT
 }
 EOT;
 killme();
-}
-}
+}
\ No newline at end of file