removed debug output
authorpk910 <philipp@zoelle1.de>
Sun, 6 Oct 2013 00:59:18 +0000 (02:59 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 6 Oct 2013 00:59:18 +0000 (02:59 +0200)
GITManagedWebpage.class.php

index 7622b30ebd41a15ff707329d29b8ce1b2c871311..481bf143ecafcfea7fe91ae9ec2bc06cece07a0e 100644 (file)
@@ -234,7 +234,7 @@ class GITManagedWebpage {
         $current_branch = str_replace(array("\r", "\n"), array("", ""), $this->gitcmd("rev-parse", "--abbrev-ref", "HEAD"));
         if($current_branch != $branch)
             $this->gitcmd("checkout", $branch);
         $current_branch = str_replace(array("\r", "\n"), array("", ""), $this->gitcmd("rev-parse", "--abbrev-ref", "HEAD"));
         if($current_branch != $branch)
             $this->gitcmd("checkout", $branch);
-        echo $this->gitcmd("pull");
+        $this->gitcmd("pull");
         $gitret = $this->gitcmd("rev-list", "--max-count=1", $branch);
         preg_match("#([a-z0-9]{40})#", $gitret, $match);
         $newest_version = $match[1];
         $gitret = $this->gitcmd("rev-list", "--max-count=1", $branch);
         preg_match("#([a-z0-9]{40})#", $gitret, $match);
         $newest_version = $match[1];