by Graham Bowman.
I added a tracker entry and patch at https://tracker.moodle.org/browse/MDL-45729
I added a tracker entry and patch at https://tracker.moodle.org/browse/MDL-45729