moodle/enrol/meta
Vitaly d7d1ed65a5 MDL-56653 enrol_meta: a single DB query in edit_instance_validation
The 'edit_instance_validation()' method checks for existing meta enrolment instances.
The fix replaces DB queries in a loop for each course with a single query for all courses.
Also, a new testing method 'test_edit_instance_validation_with_existing_courses()'
was added to /enrol/meta/tests/plugin_test.php to test if the new implementation
returns an error in case of trying to save the already linked courses in the 'customint1' field.
2020-11-12 15:14:44 +03:00
..
classes MDL-63500 enrol_meta: refactoring get_contexts_for_userid 2018-10-22 12:48:29 +02:00
cli MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
db MDL-61208 enrol: Standard enrol plugins should use tasks instead of cron 2018-04-10 09:16:17 +05:30
lang/en MDL-62356 enrol_meta: Add privacy implementation for enrol_meta 2018-05-14 10:55:52 +02:00
tests MDL-56653 enrol_meta: a single DB query in edit_instance_validation 2020-11-12 15:14:44 +03:00
lib.php MDL-56653 enrol_meta: a single DB query in edit_instance_validation 2020-11-12 15:14:44 +03:00
locallib.php Merge branch 'MDL-43176' of https://github.com/NeillM/moodle 2017-09-20 10:12:37 +02:00
settings.php MDL-35696 enrol_meta: Fixed course sort order 2014-11-24 10:19:17 +00:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00