From 30239ed302c571efb0cd9c86625be30fce5b4bd9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 11 Mar 2009 03:29:12 +0000 Subject: $task_definitions -> $task_def --- core/helpers/task.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/helpers/task.php') diff --git a/core/helpers/task.php b/core/helpers/task.php index 051cc76d..32af10bf 100644 --- a/core/helpers/task.php +++ b/core/helpers/task.php @@ -35,10 +35,10 @@ class task_Core { return $tasks; } - static function create($task_definitions, $context) { + static function create($task_def, $context) { $task = ORM::factory("task"); - $task->callback = $task_definitions->callback; - $task->name = $task_definitions->name; + $task->callback = $task_def->callback; + $task->name = $task_def->name; $task->percent_complete = 0; $task->status = ""; $task->state = "started"; -- cgit v1.2.3