Removed var_dumps and error_logs where not needed or placed a comment where they are needed

This commit is contained in:
Paolo
2018-05-03 12:31:56 +02:00
parent c4baa454aa
commit 4e90523ccc
3 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -62,7 +62,6 @@ function generateToken($length = 64)
}
/**
* var_dump_to_error_log()
* Gets the output of the var_dump function and print it out
* via the error log. It also removes the end line characters
*/
@@ -72,7 +71,7 @@ function var_dump_to_error_log($parameter)
var_dump($parameter); // KEEP IT!!!
$ob_get_contents = ob_get_contents();
ob_end_clean();
error_log(str_replace("\n", '', $ob_get_contents));
error_log(str_replace("\n", '', $ob_get_contents)); // KEEP IT!!!
}
/**