Skip to content

Commit

Permalink
Merge branch 'MDL-54036_master' of https://github.com/liorgil/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jun 16, 2016
2 parents b085235 + 68873d4 commit 4f400df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mod/forum/lib.php
Expand Up @@ -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;
Expand Down

0 comments on commit 4f400df

Please sign in to comment.