summaryrefslogtreecommitdiffstats
path: root/application/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/api')
-rw-r--r--application/controllers/api/v1/file.php4
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: