summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-11-03 12:21:37 +0100
committermsquare <msquare@notrademark.de>2019-11-03 12:21:37 +0100
commit2b27b45aba4ba40a6b601e55073a196f1eb48bb6 (patch)
treedcceb9e819901b957db25d0bca89ced3c04fb3b2 /src
parent613d258c87fb3d8e6f221f4c416e3054583dcc79 (diff)
remove legacy file guest start
Diffstat (limited to 'src')
-rw-r--r--src/Middleware/LegacyMiddleware.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index 11508e1c..e26b0851 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -218,9 +218,7 @@ class LegacyMiddleware implements MiddlewareInterface
return [$title, $content];
}
- require_once realpath(__DIR__ . '/../../includes/pages/guest_start.php');
- $content = guest_start();
- return [$title, $content];
+ redirect(page_link_to('login'));
}
/**