mirror of
https://github.com/moodle/moodle.git
synced 2025-07-15 11:26:30 +02:00
Remove timelimits from rebuild_course_cache() MDL-10954 (merged from 1.8)
This commit is contained in:
@ -1539,6 +1539,7 @@ function rebuild_course_cache($courseid=0) {
|
||||
$select = "id = '$courseid'";
|
||||
} else {
|
||||
$select = "";
|
||||
@set_time_limit(0); // this could take a while! MDL-10954
|
||||
}
|
||||
|
||||
if ($courses = get_records_select("course", $select,'','id,fullname')) {
|
||||
|
Reference in New Issue
Block a user