www/includes/db_profile_fermentation.php

changeset 189
6470e5c6a001
parent 186
a7c2c61a01ad
child 217
318aab371497
--- a/www/includes/db_profile_fermentation.php	Sat Jan 12 20:18:54 2019 +0100
+++ b/www/includes/db_profile_fermentation.php	Sat Jan 19 12:05:37 2019 +0100
@@ -26,11 +26,9 @@
 
 	if (isset($_GET['uuid']) && (strlen($_GET['uuid']) == 36)) {
 		$sql .= "uuid='" . $_GET['uuid'];
-//		syslog(LOG_NOTICE, 'Keep uuid ');
 	} else {
 		$uuid = str_replace("\n", "", file_get_contents('/proc/sys/kernel/random/uuid'));
 		$sql .= "uuid='" . $uuid;
-//		syslog(LOG_NOTICE, 'New uuid ');
 	}
 
 	$sql .= "', name='" . mysqli_real_escape_string($connect, $_GET['name']);
@@ -107,7 +105,7 @@
 		$profiles .= '}';
 	}
 	$profiles .= ']';
-//	syslog(LOG_NOTICE, $profiles);
+	syslog(LOG_NOTICE, $profiles);
 	header("Content-type: application/json");
 	echo $profiles;
 }

mercurial