Skip to content

Commit 2c228f5

Browse files
author
Kristan Kenney
committed
Remove code from web edit backend commands
1 parent 822af76 commit 2c228f5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

web/edit/web/index.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -446,16 +446,6 @@
446446
}
447447
}
448448

449-
// Add Lets Encrypt Mail domain support
450-
if ((!empty($_POST['v_ssl'])) && ( $v_letsencrypt == 'no' ) && (!empty($_POST['v_letsencrypt'])) && empty($_SESSION['error_msg'])) {
451-
$l_aliases = str_replace("\n", ',', $v_aliases);
452-
exec (HESTIA_CMD."v-add-letsencrypt-domain ".$user." ".$v_domain." '' 'yes'", $output, $return_var);
453-
check_return_code($return_var,$output);
454-
unset($output);
455-
$restart_web = 'yes';
456-
$restart_proxy = 'yes';
457-
}
458-
459449
// Add Force SSL
460450
if ((!empty($_POST['v_ssl_forcessl'])) && (!empty($_POST['v_ssl'])) && (empty($_SESSION['error_msg']))) {
461451
exec (HESTIA_CMD."v-add-web-domain-ssl-force ".$user." ".$v_domain, $output, $return_var);

0 commit comments

Comments
 (0)