Permalink
Browse files

MDL-30279 show full date and time for all wiki revisions

  • Loading branch information...
1 parent 2450fc5 commit 797e49da805d3276627145d6e8242aa415f83d4b @mackensen mackensen committed with ankitagarwal Nov 16, 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 797e49d

Please sign in to comment.