+ add resolvedDate of bug.

+ add finishedDate of task.
This commit is contained in:
areyou123456
2012-06-27 09:12:00 +00:00
parent 6a9ed1f067
commit 2f1565b882
5 changed files with 16 additions and 5 deletions
+3 -2
View File
@@ -243,8 +243,9 @@ class bugModel extends model
*/
public function resolve($bugID)
{
$now = helper::now();
$bug = fixer::input('post')
$now = helper::now();
$oldBug = $this->getById($bugID);
$bug = fixer::input('post')
->add('resolvedBy', $this->app->user->account)
->add('resolvedDate', $now)
->add('status', 'resolved')