MDL-32094 fix E_STRICT issues in assignment
This commit is contained in:
@@ -2560,7 +2560,7 @@ class mod_assignment_grading_form extends moodleform {
|
||||
}
|
||||
}
|
||||
|
||||
function add_action_buttons() {
|
||||
function add_action_buttons($cancel = true, $submitlabel = NULL) {
|
||||
$mform =& $this->_form;
|
||||
//if there are more to be graded.
|
||||
if ($this->_customdata->nextid>0) {
|
||||
@@ -3211,7 +3211,7 @@ function assignment_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$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
|
||||
$show = array();
|
||||
$grader = array();
|
||||
|
||||
@@ -3294,7 +3294,7 @@ function assignment_get_recent_mod_activity(&$activities, &$index, $timestart, $
|
||||
$course = $DB->get_record('course', array('id'=>$courseid));
|
||||
}
|
||||
|
||||
$modinfo =& get_fast_modinfo($course);
|
||||
$modinfo = get_fast_modinfo($course);
|
||||
|
||||
$cm = $modinfo->cms[$cmid];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user