Git commits in Moodle 2.2.2 by Andrew Davis

commit d736ed90f7ba438f546a7acd31329f740598821a
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 02 Mar 2012 10:48:03 +0800
Tag:    v2.2.2

MDL-31353 grade: added a missing YUI requires

commit e6510e09201a206e3d17de822bb7f87767c642a6
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 12 Feb 2012 19:07:54 +0800
Tag:    v2.2.2

MDL-31432 message: prevent messaging popups while viewing messages

commit a648791534e0eabbaf3af966a084ea75ae6c8f4f
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 10 Feb 2012 11:02:39 +0800
Tag:    v2.2.2

MDL-31335 message: wrapped calls to mtrace() in email_to_user() within a check to make sure its a CLI script

commit feba87f45ec277a922f4f05acd3bed3d3db7b8d2
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 08 Feb 2012 14:45:43 +0800
Tag:    v2.2.2

MDL-29080 grade: simplified bug fix to prevent users without the required capabilities from being able to export hidden grade items

commit 2ad0278bd2976d97c83769b16912a49c6f5aff38
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 23 Jan 2012 15:07:32 +0800
Tag:    v2.2.2

MDL-29892 grade: added a check to prevent hidden courses appearing on student overview reports

commit b0b6a8dac69e767f561320c076eac7db3e5bf638
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 30 Dec 2011 11:56:22 +0800
Tag:    v2.2.2

MDL-29097 course: refactored to avoid having two seperate calls to events_trigger()

commit ec0118dd5d8ef88f4dbab6561d54bc3be90b1021
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 29 Dec 2011 17:20:39 +0800
Tag:    v2.2.2

MDL-30707 mod_forum: fixed a add_to_log() call that was causing invalid URLs to be added to the log

commit 04d955043419fa6e794a609381012814f541bafa
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 28 Dec 2011 16:28:17 +0800
Tag:    v2.2.2

MDL-30828 mod_feedback: fixed sorting when viewing responses

commit 35888eee0d0ff137adda3739d8c8c5542beacf31
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 23 Dec 2011 13:28:08 +0800
Tag:    v2.2.2

MDL-30722 mod_forum: prevented users being auto-logged in as guest when they access /mod/forum/unsubscribeall.php