* Clear unused unset bug typeList codes.

This commit is contained in:
guanxiying
2019-11-20 13:52:16 +08:00
parent fb5e0e8edc
commit 35fe98169f
4 changed files with 3 additions and 43 deletions
-8
View File
@@ -83,14 +83,6 @@
$branches = array('ditto' => $this->lang->story->ditto) + $branches;
}
}
/**
* Remove designchange, newfeature, trackings from the typeList, because should be tracked in story or task.
* These thress types if upgrade from bugfree2.x.
*/
if($bug->type != 'interface') unset($typeList['interface']);
if($bug->type != 'designchange') unset($typeList['designchange']);
if($bug->type != 'newfeature') unset($typeList['newfeature']);
if($bug->type != 'trackthings') unset($typeList['trackthings']);
?>
<tr>
<td><?php echo $bugID . html::hidden("bugIDList[$bugID]", $bugID);?></td>