mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-79147-master' of https://github.com/ferranrecio/moodle
This commit is contained in:
commit
108ed280e8
@ -72,7 +72,7 @@ class mustache_filesystem_loader extends \Mustache_Loader_FilesystemLoader {
|
||||
* @param string $name the template name
|
||||
* @return string Mustache Template source
|
||||
*/
|
||||
public function load($name): string {
|
||||
public function load($name) {
|
||||
global $CFG;
|
||||
if (!empty($CFG->debugtemplateinfo)) {
|
||||
// We use many templates per page. We don't want to allocate more memory than necessary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user