From 83fbc5af601fd12c0a2c1f685b46701f65446c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?A=2E=20T=C3=A4ffner?= <darkalex@firesplash.de>
Date: Wed, 7 Sep 2016 15:50:15 +0200
Subject: [PATCH] added request for DB Server on update

---
 install/update.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/install/update.php b/install/update.php
index 466f9faac7..6cd18a3109 100644
--- a/install/update.php
+++ b/install/update.php
@@ -313,8 +313,7 @@ $conf['services']['web'] = check_service_config_state('web_server', ($conf['apac
 $conf['services']['xmpp'] = check_service_config_state('xmpp_server', $conf['xmpp']['installed']);
 $conf['services']['firewall'] = check_service_config_state('firewall_server', ($conf['ufw']['installed'] || $conf['firewall']['installed']));
 $conf['services']['vserver'] = check_service_config_state('vserver_server', $conf['services']['vserver']);
-//** vv is this intended??? If you want to check adapt the lines above... vv
-$conf['services']['db'] = true;
+$conf['services']['db'] = check_service_config_state('db_server', true); /* Will always offer as MySQL is of course installed on this host as it's a requirement for ISPC to work... */
 unset($current_svc_config);
 
 
-- 
GitLab