From f141f8b523f71351841f64ab1e4782b4535ca1b7 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sun, 10 Feb 2013 14:42:23 +0100 Subject: Add further capabilities to /cloud/capabilitites api call --- apps/files/lib/capabilities.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apps/files/lib/capabilities.php (limited to 'apps/files/lib') diff --git a/apps/files/lib/capabilities.php b/apps/files/lib/capabilities.php new file mode 100644 index 00000000000..90a5e2f4eb9 --- /dev/null +++ b/apps/files/lib/capabilities.php @@ -0,0 +1,24 @@ + + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCA\Files; + +class Capabilities { + + public static function getCapabilities() { + return new \OC_OCS_Result(array( + 'capabilities' => array( + 'files' => array( + 'bigfilechunking' => true, + 'undelete' => true, + ), + ), + )); + } + +} \ No newline at end of file -- cgit v1.2.3