MDL-39326 css: removed unused chunk array search

This commit is contained in:
Sam Hemelryk 2013-04-24 13:55:44 +12:00
parent 13b0140a87
commit c31978b8ff

View file

@ -134,7 +134,6 @@ if ($type === 'editor') {
css_store_css($theme, $candidatesheet, $cssfiles);
} else {
// IE requests plugins/parents/theme instead of all at once.
$chunk = in_array($type, array('plugins', 'parents', 'theme'));
$basedir = "$CFG->cachedir/theme/$themename/css";
if (!$usesvg) {
$basedir .= '/nosvg';