* Finish task #39870.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
|
||||
/**
|
||||
* Ajax delete doc.
|
||||
*
|
||||
* @param string $link
|
||||
* @param replaceID $replaceID
|
||||
* @param string $notice
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function ajaxDeleteDoc(link, replaceID, notice)
|
||||
{
|
||||
if(confirm(notice))
|
||||
@@ -9,7 +19,13 @@ function ajaxDeleteDoc(link, replaceID, notice)
|
||||
}
|
||||
}
|
||||
|
||||
/* Delete a file. */
|
||||
/**
|
||||
* Delete a file.
|
||||
*
|
||||
* @param int $fileID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function deleteFile(fileID)
|
||||
{
|
||||
if(!fileID) return;
|
||||
|
||||
Reference in New Issue
Block a user