Skip to content

Commit 75e734d

Browse files
author
Dirk Scholten
committed
Added clear after flush
1 parent fd690f3 commit 75e734d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/LogicItLab/Salesforce/MapperBundle/MappedBulkSaver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use InvalidArgumentException;
66
use LogicItLab\Salesforce\MapperBundle\Annotation\AnnotationReader;
7+
use Phpforce\SoapClient\BulkSaver;
78
use Phpforce\SoapClient\BulkSaverInterface;
89
use Phpforce\SoapClient\Result\SaveResult;
910

@@ -129,6 +130,7 @@ public function flush()
129130
$this->populatModelIds($results, 'upserted');
130131
$this->populatModelIds($results, 'created');
131132
$this->clearModels();
133+
$this->bulkSaver->clear();
132134

133135
return $results;
134136
}

0 commit comments

Comments
 (0)