diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php index ebf456eb..4f61ad32 100644 --- a/src/Middleware/LegacyMiddleware.php +++ b/src/Middleware/LegacyMiddleware.php @@ -25,7 +25,6 @@ class LegacyMiddleware implements MiddlewareInterface 'shift_entries', 'shifts', 'shifts_json_export', - 'shifts_json_export_all', 'stats', 'users', 'user_driver_licenses', @@ -123,10 +122,6 @@ class LegacyMiddleware implements MiddlewareInterface require_once realpath(__DIR__ . '/../../includes/controller/shifts_controller.php'); shifts_json_export_controller(); /** @noinspection PhpMissingBreakStatementInspection */ - case 'shifts_json_export_all': - require_once realpath(__DIR__ . '/../../includes/controller/shifts_controller.php'); - shifts_json_export_all_controller(); - /** @noinspection PhpMissingBreakStatementInspection */ case 'stats': require_once realpath(__DIR__ . '/../../includes/pages/guest_stats.php'); guest_stats();