diff options
| author | Neku <neku@pomf.se> | 2013-12-17 02:16:41 +0100 |
|---|---|---|
| committer | Neku <neku@pomf.se> | 2013-12-17 02:16:41 +0100 |
| commit | f827356e428d9981406a6881784fed90d3ae90b8 (patch) | |
| tree | 76af2644e775a037e3aff49550357d4e314c7244 /moe | |
| parent | 750d3c2cc1916bdd0be5b029bfced0955eed20d3 (diff) | |
Update api.php
Diffstat (limited to 'moe')
| -rw-r--r-- | moe/includes/api.php | 6 |
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 +?> |
