-
Bug
-
Resolution: Fixed
-
Critical
-
1.9.16, 2.0.4, 2.1, 2.2
-
MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
w04_
MDL-31081_m23_forumindex -
Easy
-
- Create several forums in a course with various subscription options
- Visit the /mod/forum/index.php?id=COURSEID
- Ensure that the subscription buttons work properly and reflect current subscription status.
The method forum_get_subscribed_forums() found in mod/forum/lib.php doesn't make use of the passed course, so it gets information on all forums on the site instead of just ones for the course. This has proven to be a very large performance hit on sites with a lot of forums.
- Discovered while testing
-
MDL-31428 Warnings subscribing/unsubscribing to forums with DEBUG_DEVELOPER enabled
- Closed