Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
Description
While developing an RSS feed for recent activity we altered the way the modules were getting and displaying their recent activity.
The change was splitting up the $modname._print_recent_activity(..) function into a $modname._get_recent_activity(..) and $modname._print_recent_activity(..) so that the RSS feed could use the modules get function and the existing print functions could still be called from within course/lib.php for displaying the recent activity block.
We would like to suggest this as a possible API change for Modules in 2.0.
Attached is a patch for the suggested API change using the Forum Module, it is a follow up of the original Tracker issue #MDL-17045 and supplied patch.
Thanks,
Stacey Walker
Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.