MDL-29108 Do not display grading method selector for non-privileged users
authorDavid Mudrak <david@moodle.com>
Fri, 11 Nov 2011 12:58:45 +0000 (13:58 +0100)
committerDavid Mudrak <david@moodle.com>
Fri, 11 Nov 2011 12:58:45 +0000 (13:58 +0100)
commit1dea75b8d10178e884bb802b3e16f5d4d8867070
treef627b509d85500fb7f334eb314ddc40cd58c28f5
parent217116d414588c6cb3faa9d566d44b28fbbe0a3e
MDL-29108 Do not display grading method selector for non-privileged users

The patch checks the required capability before it displays the grading
method selectors in the modform.
course/modedit.php