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, 6.0 has been updated
via 65dcb0adbe63c3f9ef47afd19b03e512f03a2bc2 (commit)
from e5a1f522e12f990481446a21fc3e378f4b50a105 (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=65dcb0adbe63c3f9ef47afd19b03e512f03a2bc2
commit 65dcb0adbe63c3f9ef47afd19b03e512f03a2bc2
Author: Sylvain Beucler <[email protected]>
Date: Wed Jul 1 19:09:28 2015 +0200
stats: fix weekly aggregation
diff --git a/src/CHANGES b/src/CHANGES
index 03249eb..d6ae2d2 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,6 +1,7 @@
FusionForge 6.0.2:
* Accounts: fix elliptic curve ssh keys support (Inria)
* Project stats: fix misleading label on statistics default empty graph (Inria)
+* Project stats: fix weekly aggregation (Inria)
* Mailing lists: fix description encoding depending on Mailman version (Inria
& Thorsten Glaser)
* Mailing lists: fix default list URL path (Inria)
* Mailing lists: fix installation on CentOS (Inria)
diff --git a/src/common/reporting/ReportSetup.class.php
b/src/common/reporting/ReportSetup.class.php
index 1fac1d1..a4e64da 100644
--- a/src/common/reporting/ReportSetup.class.php
+++ b/src/common/reporting/ReportSetup.class.php
@@ -572,7 +572,7 @@ class ReportSetup extends Report {
*/
function backfill_groups_added_weekly($count=10000) {
- $arr = array_slice ($this->getMonthStartArr(), -$count-1);
+ $arr = array_slice ($this->getWeekStartArr(), -$count-1);
rsort($arr);
for ($i=0; $i<count($arr); $i++) {
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/common/reporting/ReportSetup.class.php | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits