Simplify the call
This commit is contained in:
parent
649228cd3d
commit
02a72ef04f
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue