mirror of
https://github.com/moodle/moodle.git
synced 2025-02-25 04:23:22 +01:00
The check is superfluous and uses an inexistant variable ($type) that was removed when we switched to role based enrolment. Fixes MDL-11098 MDL-10282 and MDL-8346.