Author: sevein
Date: Thu Aug 23 11:14:28 2012
New Revision: 12176
Log:
Call build-nested-set after the import is done
Modified:
trunk/lib/QubitCsvImport.class.php
Modified: trunk/lib/QubitCsvImport.class.php
==============================================================================
--- trunk/lib/QubitCsvImport.class.php Thu Aug 23 10:17:03 2012 (r12175)
+++ trunk/lib/QubitCsvImport.class.php Thu Aug 23 11:14:28 2012 (r12176)
@@ -98,7 +98,8 @@
$this->errors = $output;
}
- // TODO, find getRootObject
+ // Rebuild nested set
+ system(sprintf('php %s propel:build-nested-set',
escapeshellarg(sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'symfony')));
return $this;
}
--
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.