Permalink
Browse files

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

…into MOODLE_21_STABLE
  • Loading branch information...
2 parents 8e74088 + 473dfce commit d047cf60aeb5dd7b1217e6c80a7484a238a45e50 @nebgor nebgor committed Nov 21, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 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) {

0 comments on commit d047cf6

Please sign in to comment.