mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-32094 fix various E_STRICT compatibility problems
This commit is contained in:
parent
0ed6f71232
commit
f20edd5208
27 changed files with 53 additions and 42 deletions
|
@ -226,12 +226,12 @@
|
|||
// Course wrapper start.
|
||||
echo html_writer::start_tag('div', array('class'=>'course-content'));
|
||||
|
||||
$modinfo =& get_fast_modinfo($COURSE);
|
||||
$modinfo = get_fast_modinfo($COURSE);
|
||||
get_all_mods($course->id, $mods, $modnames, $modnamesplural, $modnamesused);
|
||||
foreach($mods as $modid=>$unused) {
|
||||
if (!isset($modinfo->cms[$modid])) {
|
||||
rebuild_course_cache($course->id);
|
||||
$modinfo =& get_fast_modinfo($COURSE);
|
||||
$modinfo = get_fast_modinfo($COURSE);
|
||||
debugging('Rebuilding course cache', DEBUG_DEVELOPER);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue