mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +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
|
@ -343,7 +343,7 @@ function workshop_print_recent_activity($course, $viewfullnames, $timestart) {
|
|||
|
||||
$rs = $DB->get_recordset_sql($sql, array($course->id, $timestart, $timestart));
|
||||
|
||||
$modinfo =& get_fast_modinfo($course); // reference needed because we might load the groups
|
||||
$modinfo = get_fast_modinfo($course); // reference needed because we might load the groups
|
||||
|
||||
$submissions = array(); // recent submissions indexed by submission id
|
||||
$assessments = array(); // recent assessments indexed by assessment id
|
||||
|
@ -552,7 +552,7 @@ function workshop_get_recent_mod_activity(&$activities, &$index, $timestart, $co
|
|||
$course = $DB->get_record('course', array('id'=>$courseid));
|
||||
}
|
||||
|
||||
$modinfo =& get_fast_modinfo($course);
|
||||
$modinfo = get_fast_modinfo($course);
|
||||
|
||||
$cm = $modinfo->cms[$cmid];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue