mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-38973-master' of https://github.com/damyon/moodle
This commit is contained in:
commit
a4b524e931
3 changed files with 46 additions and 29 deletions
|
@ -3407,22 +3407,22 @@ class assign {
|
|||
$this->get_return_params());
|
||||
|
||||
$o .= $this->get_renderer()->render($feedbackstatus);
|
||||
}
|
||||
|
||||
$allsubmissions = $this->get_all_submissions($user->id);
|
||||
$allsubmissions = $this->get_all_submissions($user->id);
|
||||
|
||||
if (count($allsubmissions) > 1) {
|
||||
$allgrades = $this->get_all_grades($user->id);
|
||||
$history = new assign_attempt_history($allsubmissions,
|
||||
$allgrades,
|
||||
$this->get_submission_plugins(),
|
||||
$this->get_feedback_plugins(),
|
||||
$this->get_course_module()->id,
|
||||
$this->get_return_action(),
|
||||
$this->get_return_params(),
|
||||
false);
|
||||
if (count($allsubmissions) > 1) {
|
||||
$allgrades = $this->get_all_grades($user->id);
|
||||
$history = new assign_attempt_history($allsubmissions,
|
||||
$allgrades,
|
||||
$this->get_submission_plugins(),
|
||||
$this->get_feedback_plugins(),
|
||||
$this->get_course_module()->id,
|
||||
$this->get_return_action(),
|
||||
$this->get_return_params(),
|
||||
false);
|
||||
|
||||
$o .= $this->get_renderer()->render($history);
|
||||
}
|
||||
$o .= $this->get_renderer()->render($history);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue