diff options
author | Tom Needham <tom@owncloud.com> | 2013-02-09 11:53:54 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2013-02-09 11:53:54 +0000 |
commit | 5102596e6d461313cd10f64d033107ce1218a854 (patch) | |
tree | 9388147bb15c61f9be2fdf79b8c33138fa6d0561 /apps/files_versions/appinfo/routes.php | |
parent | 675afbc21374b03140f4570c585eace56875819a (diff) | |
download | nextcloud-server-5102596e6d461313cd10f64d033107ce1218a854.tar.gz nextcloud-server-5102596e6d461313cd10f64d033107ce1218a854.zip |
Add capabilities exposure to the versioning app
Diffstat (limited to 'apps/files_versions/appinfo/routes.php')
-rw-r--r-- | apps/files_versions/appinfo/routes.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php new file mode 100644 index 00000000000..125b96db175 --- /dev/null +++ b/apps/files_versions/appinfo/routes.php @@ -0,0 +1,9 @@ +<?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. + */ + +// Register with the capabilities API +OC_API::register('get', '/cloud/capabilities', array('OC_Files_Versions_Capabiltiies', 'getCapabilities'), 'ocs', OC_API::USER_AUTH);
\ No newline at end of file |