diff --git a/scp/logout.php b/scp/logout.php index 02e7775aa868142123272d6df414a03f9a0a9f1f..a40079026540b0e1886d37e4f23fb6b0d7faa44e 100644 --- a/scp/logout.php +++ b/scp/logout.php @@ -38,6 +38,4 @@ catch (Exception $x) { // Lock::removeStaffLocks may throw InconsistentModel on upgrade } -@header('Location: login.php'); -require('login.php'); -?> +Http::redirect('login.php');