Author: sevein
Date: Thu Aug 23 15:19:48 2012
New Revision: 12184
Log:
Use --quiet when calling csv tasks from the web frontend
Modified:
trunk/lib/QubitCsvImport.class.php
Modified: trunk/lib/QubitCsvImport.class.php
==============================================================================
--- trunk/lib/QubitCsvImport.class.php Thu Aug 23 15:16:22 2012 (r12183)
+++ trunk/lib/QubitCsvImport.class.php Thu Aug 23 15:19:48 2012 (r12184)
@@ -64,7 +64,7 @@
if (isset($this->parent))
{
// Example: php symfony csv:import --default-parent-slug="$sourceName"
/tmp/foobar
- $command = sprintf('php %s %s --source-name=%s --default-parent-slug=%s
%s',
+ $command = sprintf('php %s %s --quiet --source-name=%s
--default-parent-slug=%s %s',
escapeshellarg(sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'symfony'),
escapeshellarg($taskClassName),
escapeshellarg($csvFile),
@@ -74,7 +74,7 @@
else
{
// Example: php symfony csv:import /tmp/foobar
- $command = sprintf('php %s %s --source-name=%s %s',
+ $command = sprintf('php %s %s --quiet --source-name=%s %s',
escapeshellarg(sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'symfony'),
escapeshellarg($taskClassName),
escapeshellarg($csvFile),
--
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.