mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-78055' of https://github.com/paulholden/moodle
This commit is contained in:
commit
72ef87bda1
@ -1599,7 +1599,10 @@ class theme_config {
|
||||
}
|
||||
$candidates[] = $parent_config->extrascsscallback;
|
||||
}
|
||||
$candidates[] = $this->extrascsscallback;
|
||||
|
||||
if (isset($this->extrascsscallback)) {
|
||||
$candidates[] = $this->extrascsscallback;
|
||||
}
|
||||
|
||||
// Calling the functions.
|
||||
foreach ($candidates as $function) {
|
||||
@ -1629,7 +1632,10 @@ class theme_config {
|
||||
}
|
||||
$candidates[] = $parent_config->prescsscallback;
|
||||
}
|
||||
$candidates[] = $this->prescsscallback;
|
||||
|
||||
if (isset($this->prescsscallback)) {
|
||||
$candidates[] = $this->prescsscallback;
|
||||
}
|
||||
|
||||
// Calling the functions.
|
||||
foreach ($candidates as $function) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user