aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-08-09 10:47:39 -0300
committerSilvio <s1lv10@uol.com.br>2010-08-09 10:47:39 -0300
commit831477c2045d4db7db669c2abf1a95c31ed0701b (patch)
treecaf6d323e6cbfcac92285d84e667f4285a0daea6
parent2b01b2df1695ff1cb90a2977b7a7187d3ada3d18 (diff)
downloadsf_isis_importer_plugin-831477c2045d4db7db669c2abf1a95c31ed0701b.tar.gz
sf_isis_importer_plugin-831477c2045d4db7db669c2abf1a95c31ed0701b.tar.bz2
Freeing model objects after adding and entry
-rw-r--r--lib/sfIsisImporter.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sfIsisImporter.class.php b/lib/sfIsisImporter.class.php
index def3d7e..22541e3 100644
--- a/lib/sfIsisImporter.class.php
+++ b/lib/sfIsisImporter.class.php
@@ -120,6 +120,7 @@ class sfIsisImporter extends IsisConnector
}
$model->save();
+ $model->free(true);
}
else {
$this->log("Skipping existing entry $entry for $base_model.");