Fix to revert disabling "unsupported pages" in Dovecot 2.4

This reverts commit c2c99e3305.
This commit is contained in:
Ilia Ross
2025-09-01 19:18:21 +03:00
parent 55013abadc
commit 0ffaed090a

View File

@@ -33,8 +33,6 @@ if (!&get_config_file()) {
# Show icons for option categories
@pages = ( "net", "login", "mail", "ssl", "manual" );
@pages = grep { $_ ne 'login' && $_ ne 'mail' } @pages
if (&version_atleast("2.4"));
@titles = map { $text{$_."_title"} } @pages;
@icons = map { "images/".$_.".gif" } @pages;
@links = map { "edit_".$_.".cgi" } @pages;