1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-06-16 15:01:08 +03:00

Updated for Minion 3.4 - New

- New command will now work. As of the most recent update the _execute
  function does not take arguments, and these have been removed.
This commit is contained in:
Michael 2016-04-04 14:03:21 +10:00
parent c1d7d5a961
commit d5244b9e72

View file

@ -44,11 +44,11 @@ class Task_Migrations_New extends Minion_Task {
*
* @param array $options Configuration
*/
protected function _execute(array $options)
protected function _execute()
{
try
{
$file = $this->generate($options);
$file = $this->generate($this->_options);
Minion_CLI::write('Migration generated: '.$file);
}
catch (ErrorException $e)