From 61641293f47914413179b60c8124e5e966c772bb Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 18 Nov 2014 23:06:39 +0100 Subject: Only show undelete capability if files_trashbin is enabled Fixes the OCS capability API at /ocs/v1.php/cloud/capabilities --- apps/files/lib/capabilities.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/files/lib/capabilities.php') 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, ), ), )); -- cgit v1.2.3