mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-24 17:13:01 +00:00
Remove debug logging
This commit is contained in:
parent
5b0619b0a2
commit
f4ff1f41e1
1 changed files with 0 additions and 6 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue