summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index b6506824a80..08c9041062d 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -85,4 +85,4 @@ $this->create('download', 'download{file}')
->actionInclude('files/download.php');
// Register with the capabilities API
-\OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', \OC_API::USER_AUTH);
+\OCP\API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', \OCP\API::USER_AUTH);