This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via cdc283e54d1ac50e07f780584d5bbdba33732961 (commit)
from 9333b849f4760a03db0e8713b592d172a63fd8d7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=cdc283e54d1ac50e07f780584d5bbdba33732961
commit cdc283e54d1ac50e07f780584d5bbdba33732961
Author: Franck Villaume <[email protected]>
Date: Fri Sep 8 10:00:18 2017 +0000
fix wrong var: project -> group
diff --git a/src/plugins/scmdarcs/common/DarcsPlugin.class.php
b/src/plugins/scmdarcs/common/DarcsPlugin.class.php
index ff66276..c16cd68 100644
--- a/src/plugins/scmdarcs/common/DarcsPlugin.class.php
+++ b/src/plugins/scmdarcs/common/DarcsPlugin.class.php
@@ -451,7 +451,7 @@ over it to the project's administrator.");
$res = db_query_params('DELETE FROM stats_cvs_group WHERE month
= $1 AND day = $2 AND group_id = $3 AND reponame = $4',
array($month_string,
$day,
- $project->getID(),
+ $group->getID(),
$project_reponame));
if(!$res) {
echo "Error while cleaning stats_cvs_group\n";
@@ -462,7 +462,7 @@ over it to the project's administrator.");
$res = db_query_params('DELETE FROM stats_cvs_user WHERE month
= $1 AND day = $2 AND group_id = $3 AND reponame = $4',
array($month_string,
$day,
- $project->getID(),
+ $group->getID(),
$project_reponame));
if(!$res) {
echo "Error while cleaning stats_cvs_user\n";
@@ -493,7 +493,7 @@ over it to the project's administrator.");
VALUES ($1, $2, $3, $4, $5, $6,
$7)',
array($month_string,
$day,
- $project->getID(),
+ $group->getID(),
0,
$updates,
$adds,
@@ -549,7 +549,7 @@ over it to the project's administrator.");
if (!db_query_params('INSERT INTO stats_cvs_user
(month, day, group_id, user_id, commits, adds) VALUES ($1, $2, $3, $4, $5, $6,
$7)',
array($month_string,
$day,
-
$project->getID(),
+ $group->getID(),
$user_id,
isset($usr_updates[$user]) ? $usr_updates[$user] : 0,
isset($usr_adds[$user]) ? $usr_adds[$user] : 0),
@@ -559,7 +559,6 @@ over it to the project's administrator.");
return false;
}
}
-
db_commit();
}
diff --git a/src/plugins/scmgit/common/GitPlugin.class.php
b/src/plugins/scmgit/common/GitPlugin.class.php
index c6a4850..aaf3f17 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -815,7 +815,7 @@ control over it to the project's administrator.");
VALUES ($1, $2, $3, $4, $5, $6,
$7, $8, $9)',
array($month_string,
$day,
- $project->getID(),
+ $group->getID(),
0,
$commits,
$adds,
@@ -855,7 +855,7 @@ control over it to the project's administrator.");
VALUES
($1, $2, $3, $4, $5, $6, $7, $8, $9)',
array($month_string,
$day,
-
$project->getID(),
+
$group->getID(),
$user_id,
$uc,
$ua,
-----------------------------------------------------------------------
Summary of changes:
src/plugins/scmdarcs/common/DarcsPlugin.class.php | 9 ++++-----
src/plugins/scmgit/common/GitPlugin.class.php | 4 ++--
2 files changed, 6 insertions(+), 7 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits