summaryrefslogtreecommitdiffstats
path: root/ocs-provider/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'ocs-provider/index.php')
-rw-r--r--ocs-provider/index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/ocs-provider/index.php b/ocs-provider/index.php
index 316b39cace8..20e27e38ce7 100644
--- a/ocs-provider/index.php
+++ b/ocs-provider/index.php
@@ -20,13 +20,12 @@
*/
require_once('../lib/base.php');
-require_once(__DIR__ . '/provider.php');
header('Content-Type: application/json');
$server = \OC::$server;
-$controller = new Provider(
+$controller = new \OC\OCS\Provider(
'ocs_provider',
$server->getRequest(),
$server->getAppManager()