MDL-27628 enrol_meta: Set options to exclude existing courses, and the current course
authorDamyon Wiese <damyon@moodle.com>
Thu, 10 Mar 2016 02:37:33 +0000 (10:37 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 10 Mar 2016 12:17:10 +0000 (13:17 +0100)
commit6b046555732d2142131e4adeac5f902bb7a7e644
tree41377b496c112de043637b62055bdf0d25624341
parentfac004e28bf307dec1537f1c850795b5eb7f3c2f
MDL-27628 enrol_meta: Set options to exclude existing courses, and the current course

When adding a new meta enrolment, you should not be able to select the current course,
or any courses with an existing meta link.
enrol/meta/lib.php