| @@ -1,8 +1,4 @@ | |||||
| <?php | <?php | ||||
| /** | |||||
| * @author Daniel Knudsen <d.knudsen@spawntree.de> | |||||
| * @date 11.07.22 | |||||
| */ | |||||
| require_once('Product.php'); | require_once('Product.php'); | ||||
| @@ -27,7 +23,6 @@ class IsotopeDatabaseHandler | |||||
| } | } | ||||
| } | } | ||||
| public function processProducts(array $products) | public function processProducts(array $products) | ||||
| { | { | ||||
| $this->dbHandle->beginTransaction(); | $this->dbHandle->beginTransaction(); | ||||
| @@ -124,7 +119,8 @@ class IsotopeDatabaseHandler | |||||
| cssID, | cssID, | ||||
| published, | published, | ||||
| start, | start, | ||||
| stop | |||||
| stop, | |||||
| exact_id | |||||
| ) VALUES ( | ) VALUES ( | ||||
| 0, | 0, | ||||
| 0, | 0, | ||||
| @@ -149,7 +145,8 @@ class IsotopeDatabaseHandler | |||||
| '', | '', | ||||
| '0', | '0', | ||||
| '', | '', | ||||
| '' | |||||
| '', | |||||
| '".$product->getId()."' | |||||
| )"; | )"; | ||||
| $this->dbHandle->query($sql); | $this->dbHandle->query($sql); | ||||
| return $this->dbHandle->lastInsertId(); | return $this->dbHandle->lastInsertId(); | ||||