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:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-07-06 17:00:58 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-17 16:08:20 +0300
commit72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86 (patch)
treed9e23247a80262858b0ecb81838db6fcdb3ddd76 /ocs
parent5acabcf5cbcb1db92fd9661bc1ed5735ae316323 (diff)
Remove some IRouter methods
This is not the end. IRouter needs to burn. But it is a start. 🎵 we didn't start the fire 🎵 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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 f4ddc80804a..e5138576584 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -58,7 +58,7 @@ try {
// load all apps to get all api routes properly setup
OC_App::loadApps();
- OC::$server->getRouter()->match('/ocsapp'.\OC::$server->getRequest()->getRawPathInfo());
+ OC::$server->get(\OC\Route\Router::class)->match('/ocsapp'.\OC::$server->getRequest()->getRawPathInfo());
} catch (ResourceNotFoundException $e) {
OC_API::setContentType();