Dropped not needed fields from mash profiles.

Sat, 18 Aug 2018 19:41:31 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 18 Aug 2018 19:41:31 +0200
changeset 26
af136d9eb3c5
parent 25
d9da6c40dff5
child 27
d702a41a7021

Dropped not needed fields from mash profiles.

www/import/from_brouwhulp.php file | annotate | diff | comparison | revisions
--- a/www/import/from_brouwhulp.php	Sat Aug 18 19:40:30 2018 +0200
+++ b/www/import/from_brouwhulp.php	Sat Aug 18 19:41:31 2018 +0200
@@ -391,19 +391,6 @@
 		$sql  = "INSERT INTO inventory_mash_profiles SET name='" . mysqli_real_escape_string($db, $mash->NAME);
 		if ($mash->NOTES)
 			$sql .= "', notes='" . mysqli_real_escape_string($db, $mash->NOTES);
-		if ($mash->GRAIN_TEMP)
-			$sql .= "', grain_temp='" . $mash->GRAIN_TEMP;
-		if ($mash->TUN_TEMP)
-			$sql .= "', tun_temp='" . $mash->TUN_TEMP;
-		if ($mash->SPARGE_TEMP)
-			$sql .= "', sparge_temp='" . $mash->SPARGE_TEMP;
-		if ($mash->PH)
-			$sql .= "', ph='" . $mash->PH;
-		if ($mash->TUN_WEIGHT)
-			$sql .= "', tun_weight='" . $mash->TUN_WEIGHT;
-		if ($mash->TUN_SPECIFIX_HEAT)
-			$sql .= "', tun_specific_heat='" . $mash->TUN_SPECIFIC_HEAT;
-		($mash->EQUIP_ADJUST == 'TRUE') ? $sql .= "', equip_adjust='1" : $sql .= "', equip_adjust='0";
 
 		/*
 		 * Put the steps in a json array

mercurial