aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-18 23:06:39 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-18 23:06:39 +0100
commit61641293f47914413179b60c8124e5e966c772bb (patch)
tree2843b5d0d15882c24d6af32a9265d08791c3d452 /apps/files
parent81d112fb428719bbb4a821cb90397772ab1c6eaf (diff)
downloadnextcloud-server-61641293f47914413179b60c8124e5e966c772bb.tar.gz
nextcloud-server-61641293f47914413179b60c8124e5e966c772bb.zip
Only show undelete capability if files_trashbin is enabled
Fixes the OCS capability API at /ocs/v1.php/cloud/capabilities
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/capabilities.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files/lib/capabilities.php b/apps/files/lib/capabilities.php
index d4820e931ba..690cc314ccd 100644
--- a/apps/files/lib/capabilities.php
+++ b/apps/files/lib/capabilities.php
@@ -15,7 +15,6 @@ class Capabilities {
'capabilities' => array(
'files' => array(
'bigfilechunking' => true,
- 'undelete' => true,
),
),
));