From ef5c6457cce0f4d3b034b606bc804c8ef8c23f0e Mon Sep 17 00:00:00 2001
From: florian030 <florian@schaal-24.de>
Date: Wed, 25 Jul 2018 17:01:33 +0200
Subject: [PATCH] Revert "Revert "clean-up code""

This reverts commit 0933e16927f36ed30b64716228e6589c0d39beaf.
---
 interface/web/sites/web_vhost_domain_edit.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/interface/web/sites/web_vhost_domain_edit.php b/interface/web/sites/web_vhost_domain_edit.php
index 4f2206c679..029df1cbef 100644
--- a/interface/web/sites/web_vhost_domain_edit.php
+++ b/interface/web/sites/web_vhost_domain_edit.php
@@ -239,7 +239,6 @@ class page_action extends tform_actions {
 
 			//PHP Version Selection (FastCGI)
 			$server_type = 'apache';
-//print_r($web_config[$server_id]);exit;
 			if(!empty($web_config[$server_id]['server_type'])) $server_type = $web_config[$server_id]['server_type'];
 			if($server_type == 'nginx' && $this->dataRecord['php'] == 'fast-cgi') $this->dataRecord['php'] = 'php-fpm';
 
@@ -953,7 +952,6 @@ class page_action extends tform_actions {
 
 	function onSubmit() {
 		global $app, $conf;
-//print_r($this->dataRecord);exit;
 		// Set a few fixed values
 		$this->dataRecord["vhost_type"] = 'name';
 		if($this->_vhostdomain_type == 'domain') {
-- 
GitLab