* Refactory the setting of testcaseQueryCondition session.

* code for task#633.
This commit is contained in:
chencongzhi520@gmail.com
2012-06-13 07:16:44 +00:00
parent 0de924a08a
commit 66142a6bf6
4 changed files with 10 additions and 26 deletions
+4 -4
View File
@@ -444,10 +444,10 @@ class commonModel extends model
$table = '';
switch($type)
{
case 'story' : $table = TABLE_STORY; break;
case 'task' : $table = TABLE_TASK; break;
case 'bug' : $table = TABLE_BUG; break;
case 'case' : $table = TABLE_CASE; break;
case 'story' : $table = TABLE_STORY; break;
case 'task' : $table = TABLE_TASK; break;
case 'bug' : $table = TABLE_BUG; break;
case 'testcase' : $table = TABLE_CASE; break;
default:break;
}