Git commits in Moodle 2.2.7 by Mark Nelson

commit 8946805511e0a1f5b84b6bc5bee87e77381cec4b
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 10 Jan 2013 17:15:51 +0800
Tag:    v2.2.7

MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists

commit e3ad8a5d2ce504110a35ca1f912b4fcec1669fb8
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 27 Nov 2012 12:38:11 +0800
Tag:    v2.2.7

MDL-36841 portfolio: ensure variables in parent function match those of childs to prevent strict standard error

commit 6f2e7ccb5421b5ced0be6b26a614908e0acddb0f
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 23 Nov 2012 16:27:09 +0800
Tag:    v2.2.7

MDL-36741 mod_forum: fixed SQL that was generated when either timed posts or groups were enabled

commit 9a48481915f270bc17fa1db969c80881470b39bc
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 20 Nov 2012 16:28:52 +0800
Tag:    v2.2.7

MDL-29334 mod_data: if site-wide presets created in <= 1.9 exist convert them to 2.x

commit 82695f7730258adb0f292f0853bfc168e3e39b03
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 19 Nov 2012 15:42:52 +0800
Tag:    v2.2.7

MDL-36609 javascript: ensure HTML element exists before attempting to perform JS functionality

commit edbada7c4f4a36f9b23bfd2020277a2c2f91b81a
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 14 Nov 2012 21:00:02 +0800
Tag:    v2.2.7

MDL-30377 forum: do not allow users to view not yet started or expired discussions