MDL-55371 mod_assign: Do not return empty users in get_participant WS
authorJuan Leyva <juanleyvadelgado@gmail.com>
Thu, 4 May 2017 08:09:35 +0000 (10:09 +0200)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Thu, 4 May 2017 08:09:35 +0000 (10:09 +0200)
commit396395b8d3c3b729b7b4e5264fb3752f5370a838
treebdd03456f50f7251877d3baa0f3fe558b2f9160d
parent06e3b6d8bab42b8e56d169d006f31f4a15684830
MDL-55371 mod_assign: Do not return empty users in get_participant WS

The WS was returning null users making the WS to fail.
mod/assign/externallib.php
mod/assign/tests/externallib_test.php