MDL-12945 a slightly bigger patch for performance in recent activity and...
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE