diff options
Diffstat (limited to 'src/Middleware/LegacyMiddleware.php')
-rw-r--r-- | src/Middleware/LegacyMiddleware.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php index 2467f25c..de16e557 100644 --- a/src/Middleware/LegacyMiddleware.php +++ b/src/Middleware/LegacyMiddleware.php @@ -17,7 +17,6 @@ class LegacyMiddleware implements MiddlewareInterface protected $free_pages = [ 'admin_event_config', 'angeltypes', - 'api', 'atom', 'ical', 'login', @@ -106,10 +105,6 @@ class LegacyMiddleware implements MiddlewareInterface $title = ucfirst($page); switch ($page) { /** @noinspection PhpMissingBreakStatementInspection */ - case 'api': - error('Api disabled temporarily.'); - redirect(page_link_to()); - /** @noinspection PhpMissingBreakStatementInspection */ case 'ical': require_once realpath(__DIR__ . '/../../includes/pages/user_ical.php'); user_ical(); |