com karma: Remove var_dump: lib/Git/PostReceiveHook.php
| From: | Alexander Moskaliov | Date: | Thu, 22 Mar 2012 12:46:03 +0000 |
| Subject: | com karma: Remove var_dump: lib/Git/PostReceiveHook.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68144@lists.php.net to get a copy of this message | ||
Commit: 5a963dbc6c3ef0a08d18ec51bcc795645dc4c8a0
Author: Alexander Moskaliov <irker@php.net> Thu, 22 Mar 2012 16:46:03 +0400
Parents: 27a6e56893c4bbb46b11d8270cef1874d1e9b0ac
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=5a963dbc6c3ef0a08d18ec51bcc795645dc4c8a0
Log:
Remove var_dump
Changed paths:
M lib/Git/PostReceiveHook.php
Diff:
5a963dbc6c3ef0a08d18ec51bcc795645dc4c8a0
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index 42255b0..11d3996 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -96,7 +96,6 @@ class PostReceiveHook extends ReceiveHook
$this->log('Found revisions: '. implode(' ',
array_keys($this->revisions)));
//send mails per commit
foreach ($this->revisions as $revision => $branches) {
- var_dump($branches);
// check if it commit was already in other branches
if (!$this->isRevExistsInBranches($revision, array_diff($this->allBranches,
$branches))) {
$this->sendCommitMail($revision, $branches);
@@ -573,7 +572,7 @@ class PostReceiveHook extends ReceiveHook
}
}
- var_dump($isTrivialMerge);
+
if (!$isTrivialMerge) {
$mail->setMessage($message);