Remove/replace killme() with *exit()

This commit is contained in:
Hypolite Petovan 2018-12-26 00:40:12 -05:00
commit 895b3abf32
75 changed files with 167 additions and 187 deletions

View file

@ -14,7 +14,6 @@ function statistics_json_init(App $a) {
if (!Config::get("system", "nodeinfo")) {
System::httpExit(404);
killme();
}
$statistics = [
@ -56,5 +55,5 @@ function statistics_json_init(App $a) {
header("Content-Type: application/json");
echo json_encode($statistics, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
Logger::log("statistics_init: printed " . print_r($statistics, true), Logger::DATA);
killme();
exit();
}