diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-06 17:00:58 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-11-17 16:08:20 +0300 |
commit | 72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86 (patch) | |
tree | d9e23247a80262858b0ecb81838db6fcdb3ddd76 /lib/base.php | |
parent | 5acabcf5cbcb1db92fd9661bc1ed5735ae316323 (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 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 5b211a2d180..7f666daceb2 100644 --- a/lib/base.php +++ b/lib/base.php @@ -1005,7 +1005,7 @@ class OC { OC_App::loadApps(['filesystem', 'logging']); OC_App::loadApps(); } - OC::$server->getRouter()->match(\OC::$server->getRequest()->getRawPathInfo()); + OC::$server->get(\OC\Route\Router::class)->match(\OC::$server->getRequest()->getRawPathInfo()); return; } catch (Symfony\Component\Routing\Exception\ResourceNotFoundException $e) { //header('HTTP/1.0 404 Not Found'); |