|
|
|
@ -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();
|
|
|
|
|