* Wed Feb 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- fix typo in webmail settings for roundcube [SME: 12743]
This commit is contained in:
@@ -336,20 +336,20 @@ sub change_settings_access
|
||||
$db->set_prop('php',"status", "enabled" );
|
||||
$db->set_prop('mariadb',"status", "enabled" );
|
||||
$db->set_prop('imp',"status", 'enabled' );
|
||||
$cdb->set_prop('roundcube',"status", 'enabled' );
|
||||
$cdb->set_prop('roundcube',"access", "public" );
|
||||
$db->set_prop('roundcube',"status", 'enabled' );
|
||||
$db->set_prop('roundcube',"access", "public" );
|
||||
}
|
||||
|
||||
elsif ( $webmail eq "localnetworkSSL" || $webmail eq "localnetwork" ) {
|
||||
$db->set_prop('php',"status", "enabled" );
|
||||
$db->set_prop('mariadb',"status", "enabled" );
|
||||
$db->set_prop('imp',"status", 'enabled' );
|
||||
$cdb->set_prop('roundcube',"status", 'enabled' );
|
||||
$cdb->set_prop('roundcube',"access", "private" );
|
||||
$db->set_prop('roundcube',"status", 'enabled' );
|
||||
$db->set_prop('roundcube',"access", "private" );
|
||||
}
|
||||
|
||||
else {
|
||||
$cdb->set_prop('roundcube',"status", 'disabled' );
|
||||
$db->set_prop('roundcube',"status", 'disabled' );
|
||||
}
|
||||
|
||||
unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 )
|
||||
@@ -555,7 +555,7 @@ sub get_current_webmail_status {
|
||||
# determine status of webmail
|
||||
my $WebmailStatus = "disabled";
|
||||
|
||||
my $RoundcubeStatus = $cdb->get_prop('roundcube', 'status') || 'disabled';
|
||||
my $RoundcubeStatus = $db->get_prop('roundcube', 'status') || 'disabled';
|
||||
|
||||
my $MysqlStatus = $db->get_prop('mariadb', 'status') || 'disabled';
|
||||
|
||||
|
Reference in New Issue
Block a user