remove legacy file guest start

This commit is contained in:
msquare 2019-11-03 12:21:37 +01:00
parent 613d258c87
commit 2b27b45aba
2 changed files with 1 additions and 9 deletions

View File

@ -1,6 +0,0 @@
<?php
function guest_start()
{
redirect(page_link_to('login'));
return true;
}

View File

@ -218,9 +218,7 @@ class LegacyMiddleware implements MiddlewareInterface
return [$title, $content]; return [$title, $content];
} }
require_once realpath(__DIR__ . '/../../includes/pages/guest_start.php'); redirect(page_link_to('login'));
$content = guest_start();
return [$title, $content];
} }
/** /**