summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-18 10:30:02 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-18 10:30:02 +0200
commit3f3f8c2f99e04586424dcbc845e0b73614b9a8bd (patch)
tree858de94992595ab3dcdf05706df443722d113a09 /apps/files_versions
parent6ce1abfa5c273c657cde1a52fb0fdd3ca450e2c6 (diff)
downloadnextcloud-server-3f3f8c2f99e04586424dcbc845e0b73614b9a8bd.tar.gz
nextcloud-server-3f3f8c2f99e04586424dcbc845e0b73614b9a8bd.zip
Fix usage of deprecated private constants
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php
index 9a9bd5bd655..0ea37d3b1b1 100644
--- a/apps/files_versions/appinfo/routes.php
+++ b/apps/files_versions/appinfo/routes.php
@@ -38,4 +38,4 @@ $this->create('files_versions_ajax_rollbackVersion', 'ajax/rollbackVersion.php')
->actionInclude('files_versions/ajax/rollbackVersion.php');
// Register with the capabilities API
-OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);
+\OCP\API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', \OCP\API::USER_AUTH);