diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-19 12:09:38 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-19 12:10:32 +0300 |
commit | 20f229eed966b08d5aa7b8bc5e9c929c8e5a7e3b (patch) | |
tree | b28376865b65462c3ce854a652ab11485de21a96 /ocs-provider/index.php | |
parent | 7ca5b35379144d868a36f10c237c78de56f4ed5a (diff) |
Move OCS Provider to PSR-4 namespace
Diffstat (limited to 'ocs-provider/index.php')
-rw-r--r-- | ocs-provider/index.php | 3 |
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() |