Git commits in Moodle 3.1.x by Rafal Domagalski

commit ec3260126fa4993bc13a6ca289b64ca028aa3c4d
Author: Rafal Domagalski <rafal.domagalski@enovation.ie>
Date:   Fri, 16 Dec 2016 20:32:08 +0800
Tag:    v3.1.4

MDL-52366 themes: check for templates in themedir