Git commits in Moodle 3.11.x by Kordan

commit 954bce987aa2ca2892bece5b5f0148a58453f27b
Author: Kordan <d.cordella@iss.it>
Date:   Thu, 28 Jan 2021 15:40:42 +0800
Tag:    v3.11.0-beta

MDL-70711 form: deleted useless if block