Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'w04_MDL-31185_m22_postscfg' of git://github.com/skodak/…

…moodle into MOODLE_22_STABLE
  • Loading branch information...
commit 6daa6285cc04f466ee9bda53a83722fdc58c7fe5 2 parents caa4912 + 3370262
Eloy Lafuente (stronk7) stronk7 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/forum/lib.php
2  mod/forum/lib.php
@@ -7897,7 +7897,7 @@ function forum_get_forums_user_posted_in($user, array $courseids = null, $discus
7897 7897 * ->posts: An array containing the posts to show for this request.
7898 7898 */
7899 7899 function forum_get_posts_by_user($user, array $courses, $musthaveaccess = false, $discussionsonly = false, $limitfrom = 0, $limitnum = 50) {
7900   - global $DB, $USER;
  7900 + global $DB, $USER, $CFG;
7901 7901
7902 7902 $return = new stdClass;
7903 7903 $return->totalcount = 0; // The total number of posts that the current user is able to view

0 comments on commit 6daa628

Please sign in to comment.
Something went wrong with that request. Please try again.