From 20f229eed966b08d5aa7b8bc5e9c929c8e5a7e3b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 19 May 2016 11:09:38 +0200 Subject: Move OCS Provider to PSR-4 namespace --- ocs-provider/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ocs-provider/index.php') 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() -- cgit v1.2.3