Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-30279-m21' of git://github.com/ankitagarwal/moodle …

…into MOODLE_21_STABLE
  • Loading branch information...
commit d047cf60aeb5dd7b1217e6c80a7484a238a45e50 2 parents 8e74088 + 473dfce
@nebgor nebgor authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 mod/wiki/pagelib.php
View
9 mod/wiki/pagelib.php
@@ -1260,20 +1260,13 @@ private function print_history_content() {
} else {
$checked = $vcount - $offset;
- $lastdate = '';
$rowclass = array();
foreach ($versions as $version) {
$user = wiki_get_user_info($version->userid);
$picture = $OUTPUT->user_picture($user, array('popup' => true));
$date = userdate($version->timecreated, get_string('strftimedate'));
- if ($date == $lastdate) {
- $date = '';
- $rowclass[] = '';
- } else {
- $lastdate = $date;
- $rowclass[] = 'wiki_histnewdate';
- }
+ $rowclass[] = 'wiki_histnewdate';
$time = userdate($version->timecreated, get_string('strftimetime', 'langconfig'));
$versionid = wiki_get_version($version->id);
if ($versionid) {
Please sign in to comment.
Something went wrong with that request. Please try again.