MDL-63457 block_myoverview: Update getters for enrolled courses
authorPeter <peter@moodle.com>
Fri, 26 Oct 2018 04:37:31 +0000 (12:37 +0800)
committerPeter <peter@moodle.com>
Mon, 29 Oct 2018 00:36:59 +0000 (08:36 +0800)
commit7dcb274c9e31689f430d191fcdd3880734641cc2
tree4c14fe6681aec7c6cd513a081146a19799c6ce03
parentfd68f5a9e057463a0064a446a9af9e8819213745
MDL-63457 block_myoverview: Update getters for enrolled courses

* Update the enrol courses getter to accept an 'exclude course' id array
* Use the db query to filter hidden courses
course/externallib.php
course/lib.php
enrol/tests/enrollib_test.php
lib/enrollib.php