From 16685ccde43f14c5f560c135cb354efa4273bbcb Mon Sep 17 00:00:00 2001 From: Hugo Vacher Date: Mon, 8 Jun 2015 15:50:55 -0400 Subject: [PATCH] Removed duplicate routing setup code --- examples/relational/api.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/relational/api.php b/examples/relational/api.php index 2731aa24..d05d225a 100644 --- a/examples/relational/api.php +++ b/examples/relational/api.php @@ -9,11 +9,6 @@ use RelationalExample\Storage; include __DIR__.'/vendor/autoload.php'; -// Routing setup -$request = (new Request())->createFromGlobals(); -$router = new \Orno\Route\RouteCollection(); -$router->setStrategy(\Orno\Route\RouteStrategyInterface::RESTFUL_STRATEGY); - // Set up the OAuth 2.0 resource server $sessionStorage = new Storage\SessionStorage(); $accessTokenStorage = new Storage\AccessTokenStorage();