Remove additional check when dealing with hidden courses in LDAP enrolment.
authoriarenaza <iarenaza>
Sat, 15 Sep 2007 21:38:13 +0000 (21:38 +0000)
committeriarenaza <iarenaza>
Sat, 15 Sep 2007 21:38:13 +0000 (21:38 +0000)
commit59b567692dbc4234caf2301be81638f56e1442c3
treec9bbbc7af7c3bdc8ce927e8781fba32aa01c9171
parent8fafbc0ea3c99401d5bd5eff8a5ce9a433b84136
Remove additional check when dealing with hidden courses in LDAP enrolment.

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.
enrol/ldap/enrol.php