-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.4
-
MOODLE_24_STABLE
block recent_activity calls function get_recent_enrolments() to retrieve a list of recently enrolled users.
This function is already located in lib/deprecatedlib.php but does not have a proper deprecated syntax.
Besides this function always returns empty array because enrolments are not logged.
Block recent_activity should show the list of recent enrolments but should implement it's own function. Also it probably needs a setting whether to show it, with 'no' as default to keep the current functionality.
Function get_recent_enrolments() should be properly deprecated
- duplicates
-
MDL-17713 Recent activity block doesn't show recent enrolments in course
- Closed
- has been marked as being related by
-
MDL-40649 The recent activity block throws a debugging message due to deprecated method usage.
- Closed
- is blocked by
-
MDL-36968 Move function print_recent_activity() to the block recent_activity
- Closed