Merge branch 'MDL-77657-401-get_extra_scss_code-wrong-order' of https://github.com/danowar2k/moodle into MOODLE_401_STABLE

This commit is contained in:
Jun Pataleta
2023-08-31 17:50:56 +08:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1593,7 +1593,7 @@ class theme_config {
// Getting all the candidate functions.
$candidates = array();
foreach ($this->parent_configs as $parent_config) {
foreach (array_reverse($this->parent_configs) as $parent_config) {
if (!isset($parent_config->extrascsscallback)) {
continue;
}
@@ -1626,7 +1626,7 @@ class theme_config {
// Getting all the candidate functions.
$candidates = array();
foreach ($this->parent_configs as $parent_config) {
foreach (array_reverse($this->parent_configs) as $parent_config) {
if (!isset($parent_config->prescsscallback)) {
continue;
}
+1 -1
View File
@@ -135,7 +135,7 @@ function theme_boost_get_precompiled_css() {
* Get SCSS to prepend.
*
* @param theme_config $theme The theme config object.
* @return array
* @return string
*/
function theme_boost_get_pre_scss($theme) {
global $CFG;