mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
remove file from drop folder if requested by documentation
This commit is contained in:
parent
531b645a2d
commit
a5c6a0cd5b
|
@ -376,6 +376,11 @@ if ($_FILES['userfile']['error'] == 0) {
|
|||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||
}
|
||||
}
|
||||
if($settings->_removeFromDropFolder) {
|
||||
if(file_exists($userfiletmp)) {
|
||||
unlink($userfiletmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_log_line("?documentid=".$documentid);
|
||||
|
|
Loading…
Reference in New Issue
Block a user