Remove obsolete check for protocols on startup https://github.com/webmin/webmin/issues/1793
This commit is contained in:
@@ -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,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");
|
||||
|
||||
Reference in New Issue
Block a user