Author: mcantelon
Date: Wed Jan 18 13:23:46 2012
New Revision: 10716

Log:
Small logic cleanup with postSaveLogic.

Modified:
   trunk/lib/QubitFlatfileImport.class.php

Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php     Wed Jan 18 13:20:44 2012        
(r10715)
+++ trunk/lib/QubitFlatfileImport.class.php     Wed Jan 18 13:23:46 2012        
(r10716)
@@ -334,15 +334,13 @@
     if (isset($this->className))
     {
       $this->object->save();
-
-      // execute row completion logic
-      $this->executeClosurePropertyIfSet('postSaveLogic');
     } else {
       // execute row completion logic
       $this->executeClosurePropertyIfSet('saveLogic');
     }
 
     // execute post-save ad-hoc import logic
+    $this->executeClosurePropertyIfSet('postSaveLogic');
 
     // process import columns that produce child data (properties and notes)
     $this->rowProcessingAfterSave($row);

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to