Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b085235
)
Merge branch 'MDL-54036_master' of https://github.com/liorgil/moodle
author
Dan Poltawski
<dan@moodle.com>
Tue, 14 Jun 2016 15:38:30 +0000
(16:38 +0100)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 16 Jun 2016 08:04:09 +0000
(09:04 +0100)
mod/forum/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
4816808
..
8ab2749
100644
(file)
--- a/
mod/forum/lib.php
+++ b/
mod/forum/lib.php
@@
-5686,12
+5686,6
@@
function forum_print_posts_flat($course, &$cm, $forum, $discussion, $post, $mode
$link = false;
- if ($mode == FORUM_MODE_FLATNEWEST) {
- $sort = "ORDER BY created DESC";
- } else {
- $sort = "ORDER BY created ASC";
- }
-
foreach ($posts as $post) {
if (!$post->parent) {
continue;