remove legacy file guest start

main
msquare 5 years ago
parent 613d258c87
commit 2b27b45aba

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

@ -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'));
}
/**

Loading…
Cancel
Save