mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
2107955b7e
|
@ -870,7 +870,7 @@ function insert_document($document) { /* {{{ */
|
||||||
if($newfile) {
|
if($newfile) {
|
||||||
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
||||||
} else {
|
} else {
|
||||||
$logger->error("File ".$file['attributes']['name']." could not be added.");
|
$logger->err("File ".$file['attributes']['name']." could not be added.");
|
||||||
}
|
}
|
||||||
unlink($filename);
|
unlink($filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user