Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated guide/minion/tasks.md. #58

Closed
wants to merge 1 commit into from

5 participants

nick Kohana Builds Ken Dreyer Lorenzo Pisani rjd22
nick

Updated the guide to properly state to use the $_options array instead of $_defaults for setting task options.

This is a fix for issue: http://dev.kohanaframework.org/issues/4512

nick nicklamb Updated guide/minion/tasks.md. Updated the guide to properly state to…
… use the $_options array instead of $_defaults for setting task options.
d6924d2
Kohana Builds
Collaborator

Build Scheduled

Ken Dreyer

The "$_defaults" variable is also mentioned in a second place little further down in the guide. It too must be rewritten to "$_options".

Lorenzo Pisani
Owner

If you find all the instances of $_defaults I'll merge this in :)

rjd22
Collaborator

New pull request: #75

Lorenzo Pisani
Owner

Merged #75. Thank you both!

Lorenzo Pisani Zeelot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 9, 2012
  1. nick

    Updated guide/minion/tasks.md. Updated the guide to properly state to…

    nicklamb authored
    … use the $_options array instead of $_defaults for setting task options.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  guide/minion/tasks.md
2  guide/minion/tasks.md
View
@@ -6,7 +6,7 @@ Writing a task in minion is very easy. Simply create a new class called `Task_<T
class Task_Demo extends Minion_Task
{
- protected $_defaults = array(
+ protected $_options = array(
'foo' = 'bar',
'bar' => NULL,
);
Something went wrong with that request. Please try again.