Commit: 61cc09b1cbe8e3dcec3cf6b0447d942755c85a7c Author: Alexander Moskaliov <ir...@php.net> Wed, 4 Apr 2012 17:17:51 +0400 Parents: e7cb7e7acfaa66261f38a3f8047e09e59b2e0413 Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=61cc09b1cbe8e3dcec3cf6b0447d942755c85a7c Log: fix user Changed paths: M hooks/commit-bugs.php M hooks/post-receive.bugsweb Diff: diff --git a/hooks/commit-bugs.php b/hooks/commit-bugs.php index df5b913..0995822 100644 --- a/hooks/commit-bugs.php +++ b/hooks/commit-bugs.php @@ -64,7 +64,7 @@ foreach ($bug_list as $k => $bug) { "Log: {$commit_info['log_message']}\n"; $postdata = array( - 'user' => $commit_info['author'], + 'user' => $commit_info['user'], 'id' => $bug['number'], 'ncomment' => $comment, 'MAGIC_COOKIE' => $SVN_MAGIC_COOKIE, diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb index cc91c4a..fc95c13 100755 --- a/hooks/post-receive.bugsweb +++ b/hooks/post-receive.bugsweb @@ -67,6 +67,7 @@ foreach ($rpath as $commit) { $commit_info['log_message'] = $commitMsg; $commit_info['author'] = $committer; $commit_info['author'] = preg_replace("#@php\.net$#", "", $committer); + $commit_info['user'] = $user; $viewvc_url_prefix = sprintf( 'http://git.php.net/?p=%s;a=commit;h=', $hook->getRepositoryName() -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php