diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-27 16:28:20 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-27 16:28:20 +0000 |
commit | dc4f784558db725eb555ce9668231b89aabb8954 (patch) | |
tree | c66727af638d7f1716d32c94f20547b00afb999c /core/libraries/Task_Definition.php | |
parent | c4cdecc05f128bac3842852f114b96eaa821f2ca (diff) |
* Refactor task management methods from admin_maintenance.php to
task.php
* Added a owner_id field to the task database
* Modified the admin maintenace to show the owner of the task
<<**** Requires a reinstallation of core ****>>
Diffstat (limited to 'core/libraries/Task_Definition.php')
-rw-r--r-- | core/libraries/Task_Definition.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/libraries/Task_Definition.php b/core/libraries/Task_Definition.php index 454b39ad..1f1e3287 100644 --- a/core/libraries/Task_Definition.php +++ b/core/libraries/Task_Definition.php @@ -23,6 +23,7 @@ class Task_Definition_Core { public $description; public $name; public $severity; + public $type = "admin"; // admin, general, both static function factory() { return new Task_Definition(); @@ -48,4 +49,8 @@ class Task_Definition_Core { return $this; } + function type($type) { + $this->type = $type; + return $this; + } } |