Browse files

Changed returned value of sfPropelMigrateTask when there is nothing t…

…o migrate
  • Loading branch information...
1 parent 89779d0 commit e58c43bc095ebc2f3e95667c1c1d441b884b3797 @rozwell rozwell committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/task/sfPropelMigrateTask.class.php
View
2 lib/task/sfPropelMigrateTask.class.php
@@ -63,7 +63,7 @@ protected function execute($arguments = array(), $options = array())
if (!$nextMigrationTimestamp = $manager->getFirstUpMigrationTimestamp())
{
$this->logSection('propel', 'All migrations were already executed - nothing to migrate.');
- return false;
+ return null;
}
$timestamps = $manager->getValidMigrationTimestamps();

0 comments on commit e58c43b

Please sign in to comment.