Permalink
Browse files

Merge branch 'MDL-61482-34' of git://github.com/zig-moodle/moodle int…

…o MOODLE_34_STABLE
  • Loading branch information...
dmonllao committed Jun 20, 2018
2 parents 288fe4f + ac8b661 commit aa7263c202e3ffde863df38565eb07507884471e
Showing with 3 additions and 6 deletions.
  1. +3 −6 mod/assign/gradingtable.php
@@ -1122,11 +1122,10 @@ public function col_allowsubmissionsfromdate(stdClass $row) {
if ($row->allowsubmissionsfromdate) {
$userdate = userdate($row->allowsubmissionsfromdate);
$o = $this->output->container($userdate, 'allowsubmissionsfromdate');
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'allowsubmissionsfromdate');
}
return $o;
}
/**
@@ -1140,11 +1139,10 @@ public function col_duedate(stdClass $row) {
if ($row->duedate) {
$userdate = userdate($row->duedate);
$o = $this->output->container($userdate, 'duedate');
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'duedate');
}
return $o;
}
/**
@@ -1158,11 +1156,10 @@ public function col_cutoffdate(stdClass $row) {
if ($row->cutoffdate) {
$userdate = userdate($row->cutoffdate);
$o = $this->output->container($userdate, 'cutoffdate');
$o = ($this->is_downloading()) ? $userdate : $this->output->container($userdate, 'cutoffdate');
}
return $o;
}
/**

0 comments on commit aa7263c

Please sign in to comment.