-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.9.3, 3.10, 3.11
-
None
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
I noticed I can't call call get_discussion_posts using null for the second and third params. E.g.
get_discussion_posts($discussion->id, null, null) |
despite the second and third params being nullable in the method signature. I'm guessing the expectation was for them to get defaults when called like this but it doesn't seem to work that way because of the web service validation. This needs a look in a follow up too, though it's certainly only a minor issue since we can call the method fine if we specify the args.
- Discovered while testing
-
MDL-65252 Final deprecations of forum_count_replies and get_forum_discussion_posts
- Closed