Permalink
Browse files

Revert "Merge branch 'MDL-48534_master' of https://github.com/markn86…

…/moodle"

This reverts commit b8572fa, reversing
changes made to 172d7f1.
  • Loading branch information...
danpoltawski committed Dec 23, 2014
1 parent ffd95d4 commit cb878d027b99ef3cdf2108996c0f45ffae1e4fe4
Showing with 6 additions and 8 deletions.
  1. +6 −8 mod/assign/locallib.php
View
@@ -3055,18 +3055,16 @@ protected function view_single_grade_page($mform) {
if ($grade->grade !== null && $grade->grade >= 0) {
$data->grade = format_float($grade->grade, 2);
}
if (!empty($flags->workflowstate)) {
$data->workflowstate = $flags->workflowstate;
}
if (!empty($flags->allocatedmarker)) {
$data->allocatedmarker = $flags->allocatedmarker;
}
} else {
$data = new stdClass();
$data->grade = '';
}
if (!empty($flags->workflowstate)) {
$data->workflowstate = $flags->workflowstate;
}
if (!empty($flags->allocatedmarker)) {
$data->allocatedmarker = $flags->allocatedmarker;
}
// Warning if required.
$allsubmissions = $this->get_all_submissions($userid);

0 comments on commit cb878d0

Please sign in to comment.