MDL-38525: Assignment upgrade - Error with comments for unenrolled students.
authorDamyon Wiese <damyon@moodle.com>
Wed, 10 Apr 2013 08:09:56 +0000 (16:09 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 10 Apr 2013 08:18:35 +0000 (16:18 +0800)
commit557383cd945b2f145ea495bc06ed6847f80536f9
tree9a3af6f4ebc4b4cbd7f240420af6d3d46812bb66
parent3b89216c24e28c57f4e69cf1e4a902885add2fb5
MDL-38525: Assignment upgrade - Error with comments for unenrolled students.

Students with comments on 'upload' assignments cause errors for the upgrade
tool if they are no longer enrolled. The solution is to allow siteadmin to
see student submissions even if the student is not currently enrolled (you
must be siteadmin to run the upgrade tool).
mod/assign/locallib.php