diff options
author | Tom Needham <tom@owncloud.com> | 2013-02-09 12:50:19 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2013-02-09 12:50:19 +0000 |
commit | 5ad1b63f762ab52f8bf550787588dd1ca728145d (patch) | |
tree | 19dc892f79f3277a3addda58f15d21e72630bf85 /apps/files_versions/lib | |
parent | 5d14a2cc463f09d010537a5537e3339a87d57558 (diff) | |
download | nextcloud-server-5ad1b63f762ab52f8bf550787588dd1ca728145d.tar.gz nextcloud-server-5ad1b63f762ab52f8bf550787588dd1ca728145d.zip |
Fix api result merging.
Diffstat (limited to 'apps/files_versions/lib')
-rw-r--r-- | apps/files_versions/lib/capabilities.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_versions/lib/capabilities.php b/apps/files_versions/lib/capabilities.php index ac70773df06..1592c2b06e9 100644 --- a/apps/files_versions/lib/capabilities.php +++ b/apps/files_versions/lib/capabilities.php @@ -6,10 +6,12 @@ * See the COPYING-README file. */ -class OC_Files_Versions_Capabilities { +namespace OCA\Files_Versions; + +class Capabilities { public static function getCapabilities() { - return OC_OCS_Result(array( + return new \OC_OCS_Result(array( 'capabilities' => array( 'files_versions' => array( 'versioning' => true, |