mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-56011 lib: move Mustache loading to core_component autoloader
This commit is contained in:
parent
38c1cbceb7
commit
a57e3d3b1f
2 changed files with 2 additions and 4 deletions
|
@ -81,9 +81,6 @@ class renderer_base {
|
|||
global $CFG;
|
||||
|
||||
if ($this->mustache === null) {
|
||||
require_once($CFG->dirroot . '/lib/mustache/src/Mustache/Autoloader.php');
|
||||
Mustache_Autoloader::register();
|
||||
|
||||
$themename = $this->page->theme->name;
|
||||
$themerev = theme_get_revision();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue