From 4ef49896c3726efa4adb58adc5b7a00161650a62 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sat, 6 Apr 2024 07:32:42 +0200 Subject: [PATCH] Remove unnecessary flavours externalpage creation --- settings.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/settings.php b/settings.php index b2ba636a622..5b771196661 100644 --- a/settings.php +++ b/settings.php @@ -2565,15 +2565,6 @@ // Add settings page to the admin settings category. $ADMIN->add('theme_boost_union', $page); - - - // Create Flavours settings page as external page - // (and allow users with the theme/boost_union:configure capability to access it). - $flavourspage = new admin_externalpage('theme_boost_union_flavours', - get_string('configtitleflavours', 'theme_boost_union', null, true), - new moodle_url('/theme/boost_union/flavours/overview.php'), - 'theme/boost_union:configure'); - $ADMIN->add('theme_boost_union', $flavourspage); } // Add JS to remember the active admin tab to the page.