Permalink
Browse files

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

…into MOODLE_20_STABLE
  • Loading branch information...
2 parents f7aef5c + 797e49d commit 36d22219bc7e7186070e927a69ecc00333be4008 @nebgor nebgor committed Nov 21, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 mod/wiki/pagelib.php
View
@@ -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 36d2221

Please sign in to comment.