mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
59b567692d
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.