Permalink
Browse files

Merge pull request #55 from biakaveron/3.3/develop

pull request for #54 issue
  • Loading branch information...
2 parents 8716cfe + 1d2edce commit 965e5213f981519644d6ae923a1962ce29c79dde @Zeelot Zeelot committed Mar 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 classes/Kohana/Minion/Task.php
  2. +1 −1 classes/Task/Help.php
View
2 classes/Kohana/Minion/Task.php
@@ -266,7 +266,7 @@ public function valid_option(Validation $validation, $option)
{
if ( ! in_array($option, $this->_accepted_options))
{
- $validation->error($key, 'minion_option');
+ $validation->error($option, 'minion_option');
}
}
View
2 classes/Task/Help.php
@@ -17,7 +17,7 @@ class Task_Help extends Minion_Task
*/
protected function _execute(array $params)
{
- $tasks = Minion_Util::compile_task_list(Kohana::list_files('classes/Task'));
+ $tasks = Minion_Task::compile_task_list(Kohana::list_files('classes/Task'));
$view = new View('minion/help/list');

0 comments on commit 965e521

Please sign in to comment.