mirror of
https://github.com/moodle/moodle.git
synced 2025-05-13 11:51:22 +02:00
MDL-69962 tool_usertours: Fix increase in included files
This commit is contained in:
parent
149fdcf075
commit
ad7d432ebe
@ -637,6 +637,7 @@ class manager {
|
||||
$tours = cache::get_matching_tourdata($pageurl);
|
||||
|
||||
$matches = [];
|
||||
if ($tours) {
|
||||
$filters = helper::get_all_filters();
|
||||
foreach ($tours as $record) {
|
||||
$tour = tour::load_from_record($record);
|
||||
@ -644,6 +645,7 @@ class manager {
|
||||
$matches[] = $tour;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $matches;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user