-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-81163-main -
-
1
-
HQ 2024 Sprint I1.2 Moppies
In MDL-78284, a new callback <modname>_is_branded was added, to let modules override it when their loge must be displayed as it is (so without applying any filter to colour based on their main purpose).
It was called using:
$isbrandedfunction = $mod->name.'_is_branded'; |
$isbranded = function_exists($isbrandedfunction) ? $isbrandedfunction() : false; |
but we should use instead of:
$isbranded = component_callback($mod->name, 'is_branded'); |
Thanks dobedobedoh for raising this! <3