Author: jwage
Date: 2008-09-09 00:33:52 +0100 (Tue, 09 Sep 2008)
New Revision: 4899

Modified:
   branches/1.0/lib/Doctrine/Task/CreateTables.php
   branches/1.0/lib/Doctrine/Task/DumpData.php
   branches/1.0/lib/Doctrine/Task/GenerateMigration.php
   branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php
   branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php
   branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php
   branches/1.0/lib/Doctrine/Task/GenerateSql.php
   branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php
   branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php
   branches/1.0/lib/Doctrine/Task/LoadData.php
   branches/1.0/lib/Doctrine/Task/LoadDummyData.php
   branches/1.0/lib/Doctrine/Task/Migrate.php
Log:
fixes #1437


Modified: branches/1.0/lib/Doctrine/Task/CreateTables.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/CreateTables.php     2008-09-08 23:27:23 UTC 
(rev 4898)
+++ branches/1.0/lib/Doctrine/Task/CreateTables.php     2008-09-08 23:33:52 UTC 
(rev 4899)
@@ -40,6 +40,6 @@
     {
         Doctrine::createTablesFromModels($this->getArgument('models_path'));
         
-        $this->dispatcher->notify('Created tables successfully');
+        $this->notify('Created tables successfully');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/DumpData.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/DumpData.php 2008-09-08 23:27:23 UTC (rev 
4898)
+++ branches/1.0/lib/Doctrine/Task/DumpData.php 2008-09-08 23:33:52 UTC (rev 
4899)
@@ -49,6 +49,6 @@
         
         Doctrine::dumpData($path);
         
-        $this->dispatcher->notify(sprintf('Dumped data successfully to: %s', 
$path));
+        $this->notify(sprintf('Dumped data successfully to: %s', $path));
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateMigration.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateMigration.php        2008-09-08 
23:27:23 UTC (rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateMigration.php        2008-09-08 
23:33:52 UTC (rev 4899)
@@ -41,6 +41,6 @@
     {
         Doctrine::generateMigrationClass($this->getArgument('class_name'), 
$this->getArgument('migrations_path'));
         
-        $this->dispatcher->notify(sprintf('Generated migration class: %s 
successfully to %s', $this->getArgument('class_name'), 
$this->getArgument('migrations_path')));
+        $this->notify(sprintf('Generated migration class: %s successfully to 
%s', $this->getArgument('class_name'), $this->getArgument('migrations_path')));
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php     2008-09-08 
23:27:23 UTC (rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php     2008-09-08 
23:33:52 UTC (rev 4899)
@@ -40,6 +40,6 @@
     {
         
Doctrine::generateMigrationsFromDb($this->getArgument('migrations_path'));
         
-        $this->dispatcher->notify('Generated migration classes successfully 
from database');
+        $this->notify('Generated migration classes successfully from 
database');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php 2008-09-08 
23:27:23 UTC (rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php 2008-09-08 
23:33:52 UTC (rev 4899)
@@ -41,6 +41,6 @@
     {   
         
Doctrine::generateMigrationsFromModels($this->getArgument('migrations_path'), 
$this->getArgument('models_path'));
         
-        $this->dispatcher->notify('Generated migration classes successfully 
from models');
+        $this->notify('Generated migration classes successfully from models');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php 2008-09-08 23:27:23 UTC 
(rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php 2008-09-08 23:33:52 UTC 
(rev 4899)
@@ -40,6 +40,6 @@
     {
         Doctrine::generateModelsFromDb($this->getArgument('models_path'), 
(array) $this->getArgument('connection'));
         
-        $this->dispatcher->notify('Generated models successfully from 
databases');
+        $this->notify('Generated models successfully from databases');
     }
 }

Modified: branches/1.0/lib/Doctrine/Task/GenerateSql.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateSql.php      2008-09-08 23:27:23 UTC 
(rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateSql.php      2008-09-08 23:33:52 UTC 
(rev 4899)
@@ -51,6 +51,6 @@
         
         file_put_contents($path, $sql);
         
-        $this->dispatcher->notify('Generated SQL successfully for models');
+        $this->notify('Generated SQL successfully for models');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php   2008-09-08 23:27:23 UTC 
(rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php   2008-09-08 23:33:52 UTC 
(rev 4899)
@@ -40,6 +40,6 @@
     {
         Doctrine::generateYamlFromDb($this->getArgument('yaml_schema_path'));
         
-        $this->dispatcher->notify('Generate YAML schema successfully from 
database');
+        $this->notify('Generate YAML schema successfully from database');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php       2008-09-08 
23:27:23 UTC (rev 4898)
+++ branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php       2008-09-08 
23:33:52 UTC (rev 4899)
@@ -41,6 +41,6 @@
     {
         
Doctrine::generateYamlFromModels($this->getArgument('yaml_schema_path'), 
$this->getArgument('models_path'));
         
-        $this->dispatcher->notify('Generated YAML schema successfully from 
models');
+        $this->notify('Generated YAML schema successfully from models');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/LoadData.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/LoadData.php 2008-09-08 23:27:23 UTC (rev 
4898)
+++ branches/1.0/lib/Doctrine/Task/LoadData.php 2008-09-08 23:33:52 UTC (rev 
4899)
@@ -42,6 +42,6 @@
         Doctrine::loadModels($this->getArgument('models_path'));
         Doctrine::loadData($this->getArgument('data_fixtures_path'));
         
-        $this->dispatcher->notify('Data was successfully loaded');
+        $this->notify('Data was successfully loaded');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/LoadDummyData.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/LoadDummyData.php    2008-09-08 23:27:23 UTC 
(rev 4898)
+++ branches/1.0/lib/Doctrine/Task/LoadDummyData.php    2008-09-08 23:33:52 UTC 
(rev 4899)
@@ -42,6 +42,6 @@
         Doctrine::loadModels($this->getArgument('models_path'));
         Doctrine::loadDummyData($this->getArgument('append') ? true:false, 
$this->getArgument('num') ? $this->getArgument('num'):5);
     
-        $this->dispatcher->notify('Dummy data was successfully loaded');
+        $this->notify('Dummy data was successfully loaded');
     }
 }
\ No newline at end of file

Modified: branches/1.0/lib/Doctrine/Task/Migrate.php
===================================================================
--- branches/1.0/lib/Doctrine/Task/Migrate.php  2008-09-08 23:27:23 UTC (rev 
4898)
+++ branches/1.0/lib/Doctrine/Task/Migrate.php  2008-09-08 23:33:52 UTC (rev 
4899)
@@ -40,6 +40,6 @@
     {
         $version = Doctrine::migrate($this->getArgument('migrations_path'), 
$this->getArgument('version'));
         
-        $this->dispatcher->notify('migrated successfully to version #' . 
$version);
+        $this->notify('migrated successfully to version #' . $version);
     }
 }
\ No newline at end of file


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-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.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to