Please do not cross-post (it makes it much harder for anyone to follow the discussion when it is split across two forums).
I've already answered your post in the developer forum ( https://moodle.org/mod/forum/discuss.php?d=428369 ), so hopefully this thread can be locked / deleted.
I've already answered your post in the developer forum ( https://moodle.org/mod/forum/discuss.php?d=428369 ), so hopefully this thread can be locked / deleted.