aboutsummaryrefslogtreecommitdiffstats
path: root/mod/amcd.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/amcd.php')
-rw-r--r--mod/amcd.php49
1 files changed, 0 insertions, 49 deletions
diff --git a/mod/amcd.php b/mod/amcd.php
deleted file mode 100644
index a2a1327e6..000000000
--- a/mod/amcd.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
-{
- "version":1,
- "sessionstatus":{
- "method":"GET",
- "path":"/session"
- },
- "auth-methods": {
- "username-password-form": {
- "connect": {
- "method":"POST",
- "path":"/login",
- "params": {
- "username":"login-name",
- "password":"password"
- },
- "onsuccess": { "action":"reload" }
- },
- "disconnect": {
- "method":"GET",
- "path":"\/logout"
- }
- }
- }
- "methods": {
- "username-password-form": {
- "connect": {
- "method":"POST",
- "path":"\/login",
- "params": {
- "username":"login-name",
- "password":"password"
- },
- "onsuccess": { "action":"reload" }
- },
- "disconnect": {
- "method":"GET",
- "path":"\/logout"
- }
- }
- }
-}
-EOT;
-killme();
-} \ No newline at end of file