Git commits in Moodle 3.5.0 by Tomek Muras

commit aceb84ad7651f3b04788acf70fe72f29f6ba1c68
Author: Tomek Muras <tomek.muras@enovation.ie>
Date:   Wed, 06 Sep 2017 22:59:12 +0800
Tag:    v3.5.0-beta

MDL-60043 accesslib: improve query performance by removing ORDER BY