Merge branch 'MDL-40524' of git://github.com/aolley/moodle
This commit is contained in:
@@ -1165,7 +1165,7 @@ function wiki_get_comment($commentid){
|
||||
function wiki_get_comments($contextid, $pageid) {
|
||||
global $DB;
|
||||
|
||||
return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'));
|
||||
return $DB->get_records('comments', array('contextid' => $contextid, 'itemid' => $pageid, 'commentarea' => 'wiki_page'), 'timecreated ASC');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user