Git commits in Moodle 3.1.12 by Brendan Cox

commit ecd1bce400582f27b9251d24dadeff88a85e5c14
Author: Brendan Cox <brendan.cox@totaralearning.com>
Date:   Tue, 08 May 2018 16:50:49 +0800
Tag:    v3.1.12

MDL-62210 mod_assign: improved validation in portfolio caller class

commit 3ff27109ecba77bc358b4dbdb8eff9cdfb0a4268
Author: Brendan Cox <brendan.cox@totaralearning.com>
Date:   Fri, 27 Apr 2018 07:46:13 +0800
Tag:    v3.1.12

MDL-62232 mod_forum: Additional tests for portfolio file export