* 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
@@ -303,13 +303,6 @@ class task extends control
}
}
/* 删除一个文件。*/
public function deleteFile($fileID)
{
$this->dao->delete()->from(TABLE_FILE)->where('id')->eq($fileID)->exec();
die(js::reload('parent'));
}
/* 发送邮件。*/
private function sendmail($taskID, $actionID)
{