Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…into MOODLE_21_STABLE
  • Loading branch information...
commit d047cf60aeb5dd7b1217e6c80a7484a238a45e50 2 parents 8e74088 + 473dfce
Aparup Banerjee nebgor authored

Showing 1 changed file with 1 addition and 8 deletions. Show diff stats Hide diff stats

  1. +1 8 mod/wiki/pagelib.php
9 mod/wiki/pagelib.php
@@ -1260,20 +1260,13 @@ private function print_history_content() {
1260 1260 } else {
1261 1261
1262 1262 $checked = $vcount - $offset;
1263   - $lastdate = '';
1264 1263 $rowclass = array();
1265 1264
1266 1265 foreach ($versions as $version) {
1267 1266 $user = wiki_get_user_info($version->userid);
1268 1267 $picture = $OUTPUT->user_picture($user, array('popup' => true));
1269 1268 $date = userdate($version->timecreated, get_string('strftimedate'));
1270   - if ($date == $lastdate) {
1271   - $date = '';
1272   - $rowclass[] = '';
1273   - } else {
1274   - $lastdate = $date;
1275   - $rowclass[] = 'wiki_histnewdate';
1276   - }
  1269 + $rowclass[] = 'wiki_histnewdate';
1277 1270 $time = userdate($version->timecreated, get_string('strftimetime', 'langconfig'));
1278 1271 $versionid = wiki_get_version($version->id);
1279 1272 if ($versionid) {

0 comments on commit d047cf6

Please sign in to comment.
Something went wrong with that request. Please try again.