Git commits in Moodle 3.1.x by Tobias Reischmann

commit 25bb8b64f95d6bd339b87eed7cc6e9df4dbb38cc
Author: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de>
Date:   Wed, 16 Nov 2016 23:49:16 +0800
Tag:    v3.1.4

MDL-55275 assign: Prevent exception under admin role assignment.

commit e23d29dc91b575df56e3e625253ba8930c0a9faf
Author: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de>
Date:   Fri, 10 Jun 2016 20:43:26 +0800
Tag:    v3.1.2

MDL-54892 core: Pass proper parameter for plugin uninstall queries