summaryrefslogtreecommitdiff
path: root/src/Middleware/LegacyMiddleware.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-26 20:12:43 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-28 14:30:41 +0100
commit0e386d2c7fd46832fa67ce574637d30a15e88641 (patch)
tree44f9edd47376d05773cca3e0065da6d97f102604 /src/Middleware/LegacyMiddleware.php
parenta2f4426058794673c4a880e9544635b71a95690a (diff)
Removed global $page
Diffstat (limited to 'src/Middleware/LegacyMiddleware.php')
-rw-r--r--src/Middleware/LegacyMiddleware.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index f652e766..8a0ff002 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -58,8 +58,6 @@ class LegacyMiddleware implements MiddlewareInterface
ServerRequestInterface $request,
RequestHandlerInterface $handler
): ResponseInterface {
- global $page;
-
/** @var Request $appRequest */
$appRequest = $this->container->get('request');
$page = $appRequest->query->get('p');