Skip to content

Commit f62d952

Browse files
author
Werner Spiegel
committed
NIJ - allow setting the delete flag, even on inserts
1 parent b4ea0ea commit f62d952

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Productsup/Service/ProductData.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ private function addRow($row,$isDelete = false) {
185185
if($this->finished) {
186186
throw new Exceptions\ClientException('the current batch is already finished, please create a new one');
187187
}
188-
if(array_key_exists($this->deleteFlagName,$row)) {
189-
throw new Exceptions\ClientException('"'.$this->deleteFlagName.'" is a reserved name to flag deleted products, please use another name');
190-
}
191188
if(!array_key_exists('id',$row)) {
192189
throw new Exceptions\ClientException('adding one column "id" to the product data is mandatory');
193190
}

0 commit comments

Comments
 (0)