mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'w04_MDL-31185_m23_postscfg' of git://github.com/skodak/moodle
This commit is contained in:
commit
e0f6a239fc
@ -7897,7 +7897,7 @@ function forum_get_forums_user_posted_in($user, array $courseids = null, $discus
|
||||
* ->posts: An array containing the posts to show for this request.
|
||||
*/
|
||||
function forum_get_posts_by_user($user, array $courses, $musthaveaccess = false, $discussionsonly = false, $limitfrom = 0, $limitnum = 50) {
|
||||
global $DB, $USER;
|
||||
global $DB, $USER, $CFG;
|
||||
|
||||
$return = new stdClass;
|
||||
$return->totalcount = 0; // The total number of posts that the current user is able to view
|
||||
|
Loading…
x
Reference in New Issue
Block a user