Browse Source

Remove code from web edit backend commands

Kristan Kenney 7 years ago
parent
commit
2c228f5f8a
1 changed files with 0 additions and 10 deletions
  1. 0 10
      web/edit/web/index.php

+ 0 - 10
web/edit/web/index.php

@@ -446,16 +446,6 @@ if (!empty($_POST['save'])) {
         }
     }
     
-    // Add Lets Encrypt Mail domain support
-    if ((!empty($_POST['v_ssl'])) && ( $v_letsencrypt == 'no' ) && (!empty($_POST['v_letsencrypt'])) && empty($_SESSION['error_msg'])) {
-        $l_aliases = str_replace("\n", ',', $v_aliases);
-        exec (HESTIA_CMD."v-add-letsencrypt-domain ".$user." ".$v_domain." '' 'yes'", $output, $return_var);
-        check_return_code($return_var,$output);
-        unset($output);
-        $restart_web = 'yes';
-        $restart_proxy = 'yes';
-    }
-
     // Add Force SSL
     if ((!empty($_POST['v_ssl_forcessl'])) && (!empty($_POST['v_ssl'])) && (empty($_SESSION['error_msg']))) {
         exec (HESTIA_CMD."v-add-web-domain-ssl-force ".$user." ".$v_domain, $output, $return_var);