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:
parent
8893886896
commit
bebd8c0a92
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue