Git commits in Moodle 2.9.2 by Davo Smith

commit 6b610880dc0edbe75c9251cb8732c20ed26097fe
Author: Davo Smith <git@davosmith.co.uk>
Date:   Thu, 20 Aug 2015 21:46:59 +0800
Tag:    v2.9.2

MDL-49826 gradereport_singleview: fix permission check