Skip to content

Commit

Permalink
Merge branch 'MDL-30279-master' of git://github.com/ankitagarwal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee committed Nov 18, 2011
2 parents fe41ba7 + 9f2dc66 commit 8adce19
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions mod/wiki/pagelib.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 8adce19

Please sign in to comment.