com karma: Replace author by committer date in mail date header: lib/Git/PostReceiveHook.php
| From: | Alexander Moskaliov | Date: | Tue, 01 May 2012 07:40:32 +0000 |
| Subject: | com karma: Replace author by committer date in mail date header: lib/Git/PostReceiveHook.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68909@lists.php.net to get a copy of this message | ||
Commit: f63ee4060239525713ba87016908d06fa75d903d
Author: Alexander Moskaliov <irker@php.net> Tue, 1 May 2012 11:40:32 +0400
Parents: bc220ca91ec470baab210cb652c22f10abc689c6
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=f63ee4060239525713ba87016908d06fa75d903d
Log:
Replace author by committer date in mail date header
Changed paths:
M lib/Git/PostReceiveHook.php
Diff:
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index e331101..f43a160 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -549,7 +549,7 @@ class PostReceiveHook extends ReceiveHook
$mail = new \Mail();
$mail->setSubject($this->emailPrefix . 'com ' .
$this->getRepositoryShortName() . ': ' . $info['subject'] . ': '.
implode(' ', array_keys($paths)));
- $mail->setTimestamp(strtotime($info['author_date']));
+ $mail->setTimestamp(strtotime($info['committer_date']));
$message = '';