Permalink
Browse files

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

…odle into MOODLE_27_STABLE"

This reverts commit 8bdafc9, reversing
changes made to dc94f80.
  • Loading branch information...
danpoltawski committed Dec 23, 2014
1 parent 72ce39d commit 0e045c4c2033c1b0fe702a766ff49a2eae87a0c1
Showing with 6 additions and 8 deletions.
  1. +6 −8 mod/assign/locallib.php
View
@@ -2980,18 +2980,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 0e045c4

Please sign in to comment.