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.