1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 01:35:02 +00:00

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

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");
}