Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ocs
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-18 00:07:05 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-18 00:07:05 +0400
commit756bbe87866471a25e1d437b60eb895d515fc103 (patch)
tree7eb0b65f0aa481878451e515c6fb62a5c43bd0a9 /ocs
parent6fbf3dd7c4e64a68d2b8a0a2c24a1b92de7868b1 (diff)
parent4a2b16d76dafbd83c3f8c137cba9edda375b206a (diff)
Merge pull request #7649 from owncloud/routing-public
Move routing classes to an interface and expose it in the public api
Diffstat (limited to 'ocs')
-rw-r--r--ocs/v1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/v1.php b/ocs/v1.php
index 4cbc857bbcf..5d360c530a9 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -26,7 +26,7 @@ use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
try {
- OC::getRouter()->match('/ocs'.OC_Request::getRawPathInfo());
+ OC::$server->getRouter()->match('/ocs'.OC_Request::getRawPathInfo());
} catch (ResourceNotFoundException $e) {
OC_API::setContentType();
OC_OCS::notFound();