* modify file delete code of module story, task, doc, bug, testcase.

This commit is contained in:
fujia
2010-09-11 08:28:00 +00:00
parent ab5e0e833c
commit db16f7fc8c
13 changed files with 18 additions and 49 deletions
-7
View File
@@ -534,13 +534,6 @@ class bug extends control
}
}
/* 删除一个文件。*/
public function deleteFile($fileID)
{
$this->dao->delete()->from(TABLE_FILE)->where('id')->eq($fileID)->exec();
die(js::reload('parent'));
}
/* 保存模板。*/
public function saveTemplate()
{