aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/capabilities.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/lib/capabilities.php')
-rw-r--r--apps/files_versions/lib/capabilities.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/files_versions/lib/capabilities.php b/apps/files_versions/lib/capabilities.php
new file mode 100644
index 00000000000..ac70773df06
--- /dev/null
+++ b/apps/files_versions/lib/capabilities.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Copyright (c) 2013 Tom Needham <tom@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+class OC_Files_Versions_Capabilities {
+
+ public static function getCapabilities() {
+ return OC_OCS_Result(array(
+ 'capabilities' => array(
+ 'files_versions' => array(
+ 'versioning' => true,
+ ),
+ ),
+ ));
+ }
+
+}
+?> \ No newline at end of file