mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
Merge branch 'MDL-52189' of https://github.com/jonof/moodle
This commit is contained in:
commit
f5cb242afd
@ -68,7 +68,7 @@ class file_temp_cleanup_task extends scheduled_task {
|
||||
// Now loop through again and remove old files and directories.
|
||||
for ($iter->rewind(); $iter->valid(); $iter->next()) {
|
||||
$node = $iter->getRealPath();
|
||||
if (!is_readable($node)) {
|
||||
if (!isset($modifieddateobject[$node]) || !is_readable($node)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user