From 8668ccb06ca491abffae40a9d905876b586ead84 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 14 Jan 2024 10:35:08 +0100 Subject: [PATCH] Bugfix: Add missing theme_reset_all_caches updatecallback to markmailtolinks and markbrokenlinks settings. --- CHANGES.md | 1 + settings.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index f50e87235db..5bc88ea13ca 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2024-01-14 - Bugfix: Add missing theme_reset_all_caches updatecallback to markmailtolinks and markbrokenlinks settings. * 2024-01-10 - Bugfix: Avoid debug messages during initial installation of Boost Union due to uninitialized settings. * 2024-01-07 - Test: Install language packs programmatically in Behat tests, solves #540. * 2024-01-07 - Test: Add behat tests for the customisation of the appearance of H5P activities, solves #228. diff --git a/settings.php b/settings.php index 3ca106303bb..07205e47fb4 100644 --- a/settings.php +++ b/settings.php @@ -1510,6 +1510,7 @@ $title = get_string('markmailtolinkssetting', 'theme_boost_union', null, true); $description = get_string('markmailtolinkssetting_desc', 'theme_boost_union', null, true); $setting = new admin_setting_configselect($name, $title, $description, THEME_BOOST_UNION_SETTING_SELECT_NO, $yesnooption); + $setting->set_updatedcallback('theme_reset_all_caches'); $tab->add($setting); // Setting: Mark mailto links scope. @@ -1536,6 +1537,7 @@ $title = get_string('markbrokenlinkssetting', 'theme_boost_union', null, true); $description = get_string('markbrokenlinkssetting_desc', 'theme_boost_union', null, true); $setting = new admin_setting_configselect($name, $title, $description, THEME_BOOST_UNION_SETTING_SELECT_NO, $yesnooption); + $setting->set_updatedcallback('theme_reset_all_caches'); $tab->add($setting); // Add tab to settings page.