summaryrefslogtreecommitdiff
path: root/moe/includes
diff options
context:
space:
mode:
Diffstat (limited to 'moe/includes')
-rw-r--r--moe/includes/api.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/moe/includes/api.php b/moe/includes/api.php
index 8ac0a92..387c5eb 100644
--- a/moe/includes/api.php
+++ b/moe/includes/api.php
@@ -24,6 +24,10 @@ if(isset($_GET['do'])){
case "search":
search($_GET['q']);
break;
+
+ case "delete":
+ delete($_GET['f'], $_GET['delid']);
+ break;
case "logout":
session_unset();
@@ -35,4 +39,4 @@ if(isset($_GET['do'])){
default: echo "We could call this a 404 not found... Or what are you doing here?";
}
}
-?> \ No newline at end of file
+?>