From 1a46b8704c84f7fc998f0489ad53f86c5a5efcf7 Mon Sep 17 00:00:00 2001 From: gsd Date: Sat, 15 Jun 2013 02:28:18 +0600 Subject: [PATCH] fix MigrateController --- framework/yii/console/controllers/MigrateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/console/controllers/MigrateController.php b/framework/yii/console/controllers/MigrateController.php index 7cb333a..287b887 100644 --- a/framework/yii/console/controllers/MigrateController.php +++ b/framework/yii/console/controllers/MigrateController.php @@ -151,7 +151,7 @@ class MigrateController extends Controller $migrations = $this->getNewMigrations(); if (empty($migrations)) { echo "No new migration found. Your system is up-to-date.\n"; - Yii::$app->end(); + return; } $total = count($migrations);