From f80fdf1dd7d5dc4c71f0ba44530fb40ac95d8af2 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Tue, 19 Dec 2017 14:10:18 +0100
Subject: [PATCH] - remove debug output for check of webroot

---
 public_html/deployment/classes/project.class.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index 661f24a4..ac48597b 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -1725,21 +1725,16 @@ class project extends base {
         if (array_key_exists('haspublic', $this->_aPrjConfig["build"])
                 && $this->_aPrjConfig["build"]["haspublic"][0]
         ){
-            $sReturn.='<p>DO check for docroot<p>';
             $sWebroot = false;
             $sWebroot1 = $sTempBuildDir . '/public_html';
             $sWebroot2 = $sTempBuildDir . '/public';
-            $sReturn.="<p>1 - $sWebroot1<br>2 - $sWebroot2<p>";
             if (file_exists($sWebroot1)) {
-                $sReturn.="OK 1 - $sWebroot1<br>";
                 $sWebroot = $sWebroot1;
             }
             if (file_exists($sWebroot2)) {
-                $sReturn.="OK 2 - $sWebroot2<br>";
                 $sWebroot = $sWebroot2;
             }
 
-            $sReturn.="webroot = $sWebroot<br>";
             if (!$sWebroot) {
                 $this->_TempDelete($sTempBuildDir);
                 $sError = t('class-project-error-build-docroot-not-found');
-- 
GitLab