mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-57051-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
406f1eb76d
1 changed files with 1 additions and 1 deletions
|
@ -3935,7 +3935,7 @@ function course_check_module_updates_since($cm, $from, $fileareas = array(), $fi
|
||||||
}
|
}
|
||||||
if (!empty($fileareas) and (empty($filter) or in_array('fileareas', $filter))) {
|
if (!empty($fileareas) and (empty($filter) or in_array('fileareas', $filter))) {
|
||||||
$fs = get_file_storage();
|
$fs = get_file_storage();
|
||||||
$files = $fs->get_area_files($context->id, $component, $fileareas, false, "filearea, timemodified DESC", true, $from);
|
$files = $fs->get_area_files($context->id, $component, $fileareas, false, "filearea, timemodified DESC", false, $from);
|
||||||
foreach ($fileareas as $filearea) {
|
foreach ($fileareas as $filearea) {
|
||||||
$updates->{$filearea . 'files'} = (object) array('updated' => false);
|
$updates->{$filearea . 'files'} = (object) array('updated' => false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue