Skip to content

Commit

Permalink
Bugfix: Add missing theme_reset_all_caches updatecallback to markmail…
Browse files Browse the repository at this point in the history
…tolinks and markbrokenlinks settings.
  • Loading branch information
abias committed Jan 15, 2024
1 parent 1455201 commit 648e2e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 648e2e7

Please sign in to comment.