MDL-51628 assign: invalid hardcoded capability check
authorDamyon Wiese <damyon@moodle.com>
Fri, 9 Oct 2015 06:09:33 +0000 (14:09 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 9 Oct 2015 06:09:33 +0000 (14:09 +0800)
commitdc4050368015d6ad764dd44f4e246e42c6328d8d
tree04131e2ea92f0c86f02ddfa75fa3264052f094e4
parentfd57d685c785ac2900098b0aea87556d4696fa84
MDL-51628 assign: invalid hardcoded capability check

Use existing function to do the check instead.
mod/assign/locallib.php