* complete task #299:use default file name when download.
+ complete task #297:add file delete function to all files.
This commit is contained in:
@@ -303,6 +303,13 @@ 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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user