Skip to content

Commit

Permalink
Remove unnecessary flavours externalpage creation
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Apr 6, 2024
1 parent 420ac1e commit 4ef4989
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ef4989

Please sign in to comment.