Commit: 2957304097591a898fe015a3a16e47fba6842dbc
Author: David Soria Parra(d...@php.net)         Sun, 18 Mar 2012 21:13:37 +0100
Committer: David Soria Parra(d...@php.net)      Sun, 18 Mar 2012 21:13:37 +0100
Parents: b6951f77158b0e27b2f13ebd42475c409c0e7861

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

Log:
Call the constructor correct

Changed paths:
  M  hooks/post-receive.bugsweb


Diff:
2957304097591a898fe015a3a16e47fba6842dbc
diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb
index 39e6f9c..19a290e 100755
--- a/hooks/post-receive.bugsweb
+++ b/hooks/post-receive.bugsweb
@@ -5,6 +5,7 @@ namespace Karma;
 const KARMA_FILE = '/git/checkout/SVNROOT/global_avail';
 const REPOSITORY_PATH = '/git/repositories';
 const LIB_PATH = '/git/checkout/karma/lib';
+const USERS_DB_FILE = '/git/users.db';
 
 set_include_path(
     getenv('KARMA_LIB_PATH') ?: LIB_PATH .
@@ -17,7 +18,12 @@ include 'Git/ReceiveHook.php';
 include 'Git/PostReceiveHook.php';
 
 $hook = new \Git\PostReceiveHook(KARMA_FILE, REPOSITORY_PATH);
-$rpath = $hook->getReceivedMessages();
+$rpath = $hook->getReceivedMessages(
+    getenv('GL_REPO_BASE_ABS') ?: REPOSITORY_PATH,
+    '',
+    getenv('USERS_DB_FILE') ?: USERS_DB_FILE,
+    '',
+    '');
 
 $template = "Automatic comment from GIT on behalf of %s
 Revision: http://git.php.net/%s



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

Reply via email to