Git commits in Moodle 3.3.0 by barrasroger

commit 499d37755ca5799d8da807956822e2da3c1a7506
Author: barrasroger <roger.barras@htwchur.ch>
Date:   Tue, 18 Apr 2017 19:28:08 +0800
Tag:    v3.3.0-beta

MDL-58116 core_enrol: fix handling of users on different methods