summaryrefslogtreecommitdiff
path: root/moe
diff options
context:
space:
mode:
authorNeku <neku@pomf.se>2013-12-17 02:16:41 +0100
committerNeku <neku@pomf.se>2013-12-17 02:16:41 +0100
commitf827356e428d9981406a6881784fed90d3ae90b8 (patch)
tree76af2644e775a037e3aff49550357d4e314c7244 /moe
parent750d3c2cc1916bdd0be5b029bfced0955eed20d3 (diff)
Update api.php
Diffstat (limited to 'moe')
-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
+?>