mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-08 15:23:35 +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"));
|
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);
|
add_log_line("?documentid=".$documentid);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user