Simplify the call

This commit is contained in:
Michael 2018-12-02 20:14:53 +00:00
commit 02a72ef04f
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ function hub_return($valid, $body)
header($_SERVER["SERVER_PROTOCOL"] . ' 200 OK');
echo $body;
} else {
System::httpExit(404, ['title' => L10n::t('Not found.')]);
System::httpExit(404);
}
killme();
}