Remove debug logging

This commit is contained in:
Starbeamrainbowlabs 2022-05-18 15:36:13 +01:00
parent 5b0619b0a2
commit f4ff1f41e1
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 0 additions and 6 deletions

View File

@ -397,11 +397,5 @@ function stats_load()
function stats_save($stats)
{
global $paths;
echo("STATS_SAVE BEGIN, CONTENT_DUMP:\n");
var_dump($stats);
echo("\nCONTENT_JSON:\n");
var_dump(json_encode($stats, JSON_PRETTY_PRINT, 10));
echo("\nLAST_ERROR: ".json_last_error()."\n");
echo("\nSTATS_SAVE END to $paths->statsindex\n");
return file_put_contents($paths->statsindex, json_encode($stats, JSON_PRETTY_PRINT) . "\n");
}