Git commits in Moodle 3.1.2 by Frederic Massart

commit e4cbcf716b2cebaf0c0095222f945ac66c321ad7
Author: Frederic Massart <fred@moodle.com>
Date:   Tue, 23 Aug 2016 12:56:22 +0800
Tag:    v3.1.2

MDL-55663 filter: Filters could be incorrectly reported as inactive