Remove obsolete check for protocols on startup https://github.com/webmin/webmin/issues/1793

This commit is contained in:
Jamie Cameron
2022-11-24 12:43:29 -08:00
parent 4ede4520e4
commit 3d314a24dc
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -15,7 +15,6 @@ index_version=Version $1
stop_err=Failed to stop Dovecot
stop_erunning=No longer running
start_err=Failed to start Dovecot
start_eprotos=No protocols selected on the <b>Networking and Protocols</b> page
apply_err=Failed to apply configuration
net_title=Networking and Protocols
-3
View File
@@ -3,9 +3,6 @@
require './dovecot-lib.pl';
&error_setup($text{'start_err'});
$conf = &get_config();
@protos = split(/\s+/, &find_value("protocols", $conf));
@protos || &error($text{'start_eprotos'});
$err = &start_dovecot();
&error($err) if ($err);
&webmin_log("start");