MDL-62426 core_enrol: control enrolment subcontexts at the provider
authorJake Dallimore <jake@moodle.com>
Wed, 16 May 2018 02:17:26 +0000 (10:17 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 16 May 2018 02:22:15 +0000 (10:22 +0800)
commit72580c083283d0e305d336f0faec1a50901e0c01
tree1c4276400166742af07d32f629d0cd8b239c0f9f
parent37e10692892a83f673280a12b217a5ef81ccc666
MDL-62426 core_enrol: control enrolment subcontexts at the provider

Added a function to the core_enrol provider allowing enrol plugins
to set their subcontext relative to a fixed 'enrolments' parent dir.
enrol/classes/privacy/provider.php
enrol/flatfile/classes/privacy/provider.php
enrol/flatfile/tests/privacy_provider_test.php