1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-06-26 03:40:54 +03:00

Tasks should return their output rather than echo it

This commit is contained in:
Matt Button 2010-12-30 04:09:25 +00:00
parent 8893886896
commit bebd8c0a92
2 changed files with 2 additions and 2 deletions

View file

@ -90,6 +90,6 @@ class Controller_Minion extends Controller
$config = call_user_func_array(array('CLI', 'options'), $options);
$task->execute($config);
echo $task->execute($config);
}
}

View file

@ -107,7 +107,7 @@ class Minion_Task_Db_Migrate extends Minion_Task
->set('quiet', $quiet)
->set('dry_run_sql', $manager->get_dry_run_sql());
echo $view;
return $view;
}
/**