mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 07:11:28 +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.