Commit:    74122fc5eefce2404a13e7fc5a37067bb6106881
Author:    Alexander Moskaliov <ir...@php.net>         Fri, 23 Mar 2012 
10:51:23 +0400
Parents:   51d545a5ce6759e7b9afcaa410ef92a8bbe4a01a
Branches:  master

Link:       
http://git.php.net/?p=karma.git;a=commitdiff;h=74122fc5eefce2404a13e7fc5a37067bb6106881

Log:
add log for tag

Changed paths:
  M  lib/Git/PostReceiveHook.php


Diff:
74122fc5eefce2404a13e7fc5a37067bb6106881
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index b7f632d..eecc9cf 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -315,7 +315,8 @@ class PostReceiveHook extends ReceiveHook
         $mail->setFrom($this->pushAuthor . '@php.net', $this->pushAuthorName);
         $mail->addTo($this->mailingList);
 
-        $mail->send();
+        $result = $mail->send();
+        $this->log('tag ' . $name . ($result ? ' was send' : ' error while 
sending'));
     }
 
     /**


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to