From d5244b9e72c426a7c3d4625d9fa51825482d5838 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 4 Apr 2016 14:03:21 +1000 Subject: [PATCH] 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. --- classes/Task/Migrations/New.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Task/Migrations/New.php b/classes/Task/Migrations/New.php index c625f17..549f0e6 100644 --- a/classes/Task/Migrations/New.php +++ b/classes/Task/Migrations/New.php @@ -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)