mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02: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.