diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-03 11:38:03 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-03 11:38:03 +0100 |
commit | a788fe55713e7c44068ee2dd8377b98037d9375f (patch) | |
tree | de44dd8802d8e7c05fdf0a8bfaa395094419087d /application/controllers/api | |
parent | d9c895ce4f53b180fc11c3b5a172c4cf787b1279 (diff) |
api: implement file/delete
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/api')
-rw-r--r-- | application/controllers/api/v1/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php index 3aafd4732..0035d0a02 100644 --- a/application/controllers/api/v1/file.php +++ b/application/controllers/api/v1/file.php @@ -64,8 +64,8 @@ class file extends \controllers\api\api_controller { public function delete() { $this->muser->require_access("apikey"); - - // TODO: implement + $ids = $this->input->post("ids"); + return \service\files::delete($ids); } } # vim: set noet: |