MDL-56011 lib: move Mustache loading to core_component autoloader

This commit is contained in:
Dan Poltawski 2016-10-04 18:09:41 +01:00
parent 38c1cbceb7
commit a57e3d3b1f
2 changed files with 2 additions and 4 deletions

View file

@ -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();