diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-02 19:59:18 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-02 23:44:58 +0400 |
commit | 6ba2623485655460440a972e34a8a2a2fda02821 (patch) | |
tree | 7ab029eb5230abb294f7c07ffee2ebb2bf67a807 /ocs | |
parent | 37ef522b057caf0a0058f6be87db39f7a4f1e174 (diff) |
Move loading of routes to OC::getRouter function
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/v1.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ocs/v1.php b/ocs/v1.php index cb8a1faf876..938a57009f7 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -26,7 +26,6 @@ use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\Exception\MethodNotAllowedException; OC::getRouter()->useCollection('ocs'); -OC::getRouter()->loadRoutes(); try { OC::getRouter()->match($_SERVER['PATH_INFO']); |