Git commits in Moodle 3.2.x by Petr Skoda

commit 62eb5ef8eb03974a6e6bc6f1c325667c1e50c3d1
Author: Petr Skoda <petr.skoda@totaralms.com>
Date:   Wed, 07 Dec 2016 10:45:10 +0800
Tag:    v3.2.2

MDL-57027 fix get_users_by_capability()