mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v21
This commit is contained in:
parent
a41fe4637d
commit
0f0617f8f8
|
|
@ -3873,7 +3873,7 @@ function archiveOrBackupFile($srcfile, $max_versions = 5, $archivedir = '', $suf
|
|||
if (count($sorted_files) >= $max_versions) {
|
||||
$oldest_files = array_slice($sorted_files, $max_versions - 1);
|
||||
foreach ($oldest_files as $oldest_file) {
|
||||
dol_delete_file($oldest_file);
|
||||
dol_delete_file($oldest_file, 0, 0, 0, null, false, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user