Skip to content

Commit 8668ccb

Browse files
committed
Bugfix: Add missing theme_reset_all_caches updatecallback to markmailtolinks and markbrokenlinks settings.
1 parent b3b130b commit 8668ccb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66

77
### Unreleased
88

9+
* 2024-01-14 - Bugfix: Add missing theme_reset_all_caches updatecallback to markmailtolinks and markbrokenlinks settings.
910
* 2024-01-10 - Bugfix: Avoid debug messages during initial installation of Boost Union due to uninitialized settings.
1011
* 2024-01-07 - Test: Install language packs programmatically in Behat tests, solves #540.
1112
* 2024-01-07 - Test: Add behat tests for the customisation of the appearance of H5P activities, solves #228.

settings.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,7 @@
15101510
$title = get_string('markmailtolinkssetting', 'theme_boost_union', null, true);
15111511
$description = get_string('markmailtolinkssetting_desc', 'theme_boost_union', null, true);
15121512
$setting = new admin_setting_configselect($name, $title, $description, THEME_BOOST_UNION_SETTING_SELECT_NO, $yesnooption);
1513+
$setting->set_updatedcallback('theme_reset_all_caches');
15131514
$tab->add($setting);
15141515

15151516
// Setting: Mark mailto links scope.
@@ -1536,6 +1537,7 @@
15361537
$title = get_string('markbrokenlinkssetting', 'theme_boost_union', null, true);
15371538
$description = get_string('markbrokenlinkssetting_desc', 'theme_boost_union', null, true);
15381539
$setting = new admin_setting_configselect($name, $title, $description, THEME_BOOST_UNION_SETTING_SELECT_NO, $yesnooption);
1540+
$setting->set_updatedcallback('theme_reset_all_caches');
15391541
$tab->add($setting);
15401542

15411543
// Add tab to settings page.

0 commit comments

Comments
 (0)