* Update sprints history.
This commit is contained in:
@@ -305,7 +305,9 @@ class upgrade extends control
|
||||
$hourPoint = $this->loadModel('setting')->getItem('owner=system&module=custom&key=hourPoint');
|
||||
if(empty($hourPoint)) $this->setting->setItem('system.custom.hourPoint', 0);
|
||||
|
||||
$this->dao->update(TABLE_ACTION)->set('objectType')->eq('execution')->where('objectType')->eq('project')->exec();
|
||||
/* Update sprints history. */
|
||||
$sprints = $this->dao->select('id')->from(TABLE_PROJECT)->where('type')->eq('sprint')->fetchAll();
|
||||
$this->dao->update(TABLE_ACTION)->set('objectType')->eq('execution')->where('objectID')->in(array_keys($sprints))->exec();
|
||||
die(js::locate($this->createLink('upgrade', 'mergeRepo')));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user