diff --git a/lib/pagelib.php b/lib/pagelib.php index 8f0047dde38..6c63b678c8a 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -955,8 +955,6 @@ class moodle_page { $this->_theme = theme_config::load($themename); if ($this === $PAGE) { $THEME = $this->_theme; - // Support legacy code. - $this->_theme->setup_legacy_pix_paths(); } }