Git commits in Moodle 3.1.13 by Marina Glancy

commit e74867d06c1adb29c9a5682e72635322ede53f18
Author: Marina Glancy <marina@moodle.com>
Date:   Mon, 25 Jun 2018 14:54:59 +0800
Tag:    v3.1.13

MDL-62790 course: cap check in core_course_get_categories