mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +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.