MDL-61312 completion: Return completion for teachers via WS
commit444b165c09afdb2e7cb7db304019216955144b91
authorJuan Leyva <juanleyvadelgado@gmail.com>
Tue, 30 Jan 2018 11:19:52 +0000 (30 12:19 +0100)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Tue, 30 Jan 2018 11:20:16 +0000 (30 12:20 +0100)
tree1409cfd2b9dab9abcca5fc84c8efe04217df230a
parent51e05c09c3a4f736020fec3a0c66b4137e1edbfa
MDL-61312 completion: Return completion for teachers via WS

core_completion_get_activities_completion_status was not returning
completion information for users with the teacher role only (when it
wasn’t a role allowed to track completion).
completion/classes/external.php
completion/tests/externallib_test.php