Browse Source

Fix bug in rebuild.sh

Kristan Kenney 7 years ago
parent
commit
35fd6bed9f
1 changed files with 0 additions and 10 deletions
  1. 0 10
      func/rebuild.sh

+ 0 - 10
func/rebuild.sh

@@ -439,7 +439,6 @@ rebuild_dns_domain_conf() {
 
 
 # MAIL domain rebuild
 # MAIL domain rebuild
 rebuild_mail_domain_conf() {
 rebuild_mail_domain_conf() {
-    get_domain_values 'web'
     get_domain_values 'mail'
     get_domain_values 'mail'
 
 
     if [[ "$domain" = *[![:ascii:]]* ]]; then
     if [[ "$domain" = *[![:ascii:]]* ]]; then
@@ -505,20 +504,11 @@ rebuild_mail_domain_conf() {
             del_mail_ssl_config
             del_mail_ssl_config
             add_mail_ssl_config
             add_mail_ssl_config
 
 
-            add_webmail_config '$WEB_SYSTEM' 'default.stpl'
-
             # Update counters
             # Update counters
             update_object_value 'mail' 'DOMAIN' "$domain" '$SSL' "yes"
             update_object_value 'mail' 'DOMAIN' "$domain" '$SSL' "yes"
             U_MAIL_SSL=$((U_MAIL_SSL + 1))
             U_MAIL_SSL=$((U_MAIL_SSL + 1))
         fi
         fi
 
 
-        # Add webmail configuration
-        if [ ! -z "$WEB_SYSTEM" ]; then 
-            add_webmail_config '$WEB_SYSTEM' 'default.tpl'
-        fi
-        if [ ! -z "PROXY_SYSTEM" ]; then 
-            add_webmail_config 'PROXY_SYSTEM' 'default.tpl'
-        fi
     fi
     fi
 
 
     # Rebuild domain accounts
     # Rebuild domain accounts