Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated guide/minion/tasks.md. #58

Closed
wants to merge 1 commit into from

5 participants

@nicklamb

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

@nicklamb 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

@ktdreyer

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

@Zeelot
Owner

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

@rjd22
Collaborator

New pull request: #75

@Zeelot
Owner

Merged #75. Thank you both!

@Zeelot 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. @nicklamb

    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
View
2  guide/minion/tasks.md
@@ -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.