functions_themes.php (mybb_1822) | : | functions_themes.php (mybb_1823) | ||
---|---|---|---|---|
skipping to change at line 1464 | skipping to change at line 1464 | |||
return $stylesheets; | return $stylesheets; | |||
} | } | |||
/** | /** | |||
* @param string $css | * @param string $css | |||
* | * | |||
* @return string | * @return string | |||
*/ | */ | |||
function upgrade_css_120_to_140($css) | function upgrade_css_120_to_140($css) | |||
{ | { | |||
global $mybb; | ||||
// Update our CSS to the new stuff in 1.4 | // Update our CSS to the new stuff in 1.4 | |||
$parsed_css = css_to_array($css); | $parsed_css = css_to_array($css); | |||
if(!is_array($parsed_css)) | if(!is_array($parsed_css)) | |||
{ | { | |||
return ""; | return ""; | |||
} | } | |||
foreach($parsed_css as $class_id => $array) | foreach($parsed_css as $class_id => $array) | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |