Remove unused sprintf function

This commit is contained in:
Andres Rey
2017-10-10 18:42:32 +01:00
parent 33db4f2842
commit a3aecbf15a

View File

@@ -43,7 +43,7 @@
// Login successful, redirect the user to the homepage to discard the POST request
if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_SERVER['QUERY_STRING'] === 'login') {
header(sprintf('Location: index.php'));
header('Location: index.php');
exit();
}