Author: Kris.Wallsmith
Date: 2010-02-12 15:05:53 +0100 (Fri, 12 Feb 2010)
New Revision: 27942

Modified:
   
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
   
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
Log:
[1.3, 1.4] fixed output of doctrine:insert-sql task (closes #8008)

Modified: 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
===================================================================
--- 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
        2010-02-12 14:04:11 UTC (rev 27941)
+++ 
branches/1.3/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
        2010-02-12 14:05:53 UTC (rev 27942)
@@ -52,12 +52,14 @@
    */
   protected function execute($arguments = array(), $options = array())
   {
-    $this->logSection('doctrine', 'created tables successfully');
+    $this->logSection('doctrine', 'creating tables');
 
     $databaseManager = new sfDatabaseManager($this->configuration);
     $config = $this->getCliConfig();
 
     Doctrine_Core::loadModels($config['models_path'], 
Doctrine_Core::MODEL_LOADING_CONSERVATIVE);
     Doctrine_Core::createTablesFromArray(Doctrine_Core::getLoadedModels());
+
+    $this->logSection('doctrine', 'created tables successfully');
   }
 }

Modified: 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
===================================================================
--- 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
        2010-02-12 14:04:11 UTC (rev 27941)
+++ 
branches/1.4/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php
        2010-02-12 14:05:53 UTC (rev 27942)
@@ -51,12 +51,14 @@
    */
   protected function execute($arguments = array(), $options = array())
   {
-    $this->logSection('doctrine', 'created tables successfully');
+    $this->logSection('doctrine', 'creating tables');
 
     $databaseManager = new sfDatabaseManager($this->configuration);
     $config = $this->getCliConfig();
 
     Doctrine_Core::loadModels($config['models_path'], 
Doctrine_Core::MODEL_LOADING_CONSERVATIVE);
     Doctrine_Core::createTablesFromArray(Doctrine_Core::getLoadedModels());
+
+    $this->logSection('doctrine', 'created tables successfully');
   }
 }

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" 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/symfony-svn?hl=en.

Reply via email to