From f230025dae7a04588ba214f519c7b1c666bd3635 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Mon, 11 Dec 2017 12:17:04 +0100
Subject: [PATCH] task#1726 - add environment before executing hooks

---
 public_html/deployment/classes/project.class.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index 082abffd..732da3c8 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -1612,8 +1612,7 @@ class project extends base {
                 ;
         
         $sHookfile = $this->_aConfig['hooks']['build-postclone'];
-        $sReturn.='<h3>' . t('class-project-build-label-execute-hook-postclone') . ' (' . $sHookfile . ')</h3>'
-                . 'env: <pre>'.$sSetEnv.'</pre>';
+        $sReturn.='<h3>' . t('class-project-build-label-execute-hook-postclone') . ' (' . $sHookfile . ')</h3>';
         
         if (file_exists($sTempDir . '/' . $sHookfile)) {
             // $sReturn.=$this->_execAndSend('chmod 755 ' . $sTempDir . '/hooks/on*');
-- 
GitLab