MDL-21242 towards removing og yui2 skin sheet from the huge theme css file

This commit is contained in:
Petr Skoda
2010-01-05 00:33:15 +00:00
parent 1da545418e
commit efaa4c0803
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ class core_renderer extends renderer_base {
// Get the theme stylesheet - this has to be always first CSS, this loads also styles.css from all plugins;
// any other custom CSS can not be overridden via themes and is highly discouraged
$urls = $this->page->theme->css_urls();
$urls = $this->page->theme->css_urls($this->page);
foreach ($urls as $url) {
$this->page->requires->css($url->out(), true);
}