From: pk910 Date: Sun, 6 Oct 2013 00:59:18 +0000 (+0200) Subject: removed debug output X-Git-Url: http://git.pk910.de/?p=GITManagedWebpage.git;a=commitdiff_plain;h=7710afc9831e3521bdbe6cc190336e6fc2084a87 removed debug output --- diff --git a/GITManagedWebpage.class.php b/GITManagedWebpage.class.php index 7622b30..481bf14 100644 --- a/GITManagedWebpage.class.php +++ b/GITManagedWebpage.class.php @@ -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); - 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];