Need to backport this change as it is needed by one of the patches for https://bugs.launchpad.net/mahara/+bug/1384481
Need to backport this change as it is needed by one of the patches for https:/ /bugs.launchpad .net/mahara/ +bug/1384481