Git commits in Moodle 3.2.1 by Pau Ferrer Ocaña

commit c477dc23c05d9142cdb82f45b21f350289566017
Author: Pau Ferrer Ocaña <crazyserver@gmail.com>
Date:   Thu, 22 Dec 2016 19:59:55 +0800
Tag:    v3.2.1

MDL-57512 categories: Use maxcategorydepth only when getting all cats