# HG changeset patch # User Michiel Broek # Date 1598000136 -7200 # Node ID 0a1be3bfcc604f2f7ac11064c054e10ef2199e06 # Parent 9646123ea06343ab47723fd1664f69dd19d1107a Removed some debug messages in products and recipes diff -r 9646123ea063 -r 0a1be3bfcc60 www/includes/db_product.php --- a/www/includes/db_product.php Wed Aug 19 17:13:24 2020 +0200 +++ b/www/includes/db_product.php Fri Aug 21 10:55:36 2020 +0200 @@ -513,11 +513,11 @@ syslog(LOG_NOTICE, "db_product: result: ".mysqli_error($connect)); } else { if (isset($_POST['update'])) { - syslog(LOG_NOTICE, "db_product: updated record ".$_POST['record']); + //syslog(LOG_NOTICE, "db_product: updated record ".$_POST['record']); inventory_reduce(); } else { $lastid = mysqli_insert_id($connect); - syslog(LOG_NOTICE, "db_product: inserted record ".$lastid); + //syslog(LOG_NOTICE, "db_product: inserted record ".$lastid); } } echo $result; diff -r 9646123ea063 -r 0a1be3bfcc60 www/includes/db_recipes.php --- a/www/includes/db_recipes.php Wed Aug 19 17:13:24 2020 +0200 +++ b/www/includes/db_recipes.php Fri Aug 21 10:55:36 2020 +0200 @@ -293,7 +293,7 @@ $yeast .= ',"y_pofpos":' . $item['y_pofpos']; $yeast .= ',"y_zymocide":' . $item['y_zymocide']; $yeast .= ',"y_cost":' . $item['y_cost'] . '}'; - syslog(LOG_NOTICE, $yeast); + //syslog(LOG_NOTICE, $yeast); $yeasts .= $yeast; } } @@ -578,7 +578,7 @@ mysqli_free_result($result2); } } - syslog(LOG_NOTICE, json_encode($yeasts, JSON_UNESCAPED_UNICODE)); + //syslog(LOG_NOTICE, json_encode($yeasts, JSON_UNESCAPED_UNICODE)); $recipes .= ',"yeasts":' . json_encode($yeasts, JSON_UNESCAPED_UNICODE); } else { // Just leave it.