[Fusionforge-commits] FusionForge branch master updated. 8dc93006d6cafb6c3cd248d0d89de924ce72422e

Franck VILLAUME nerville at fusionforge.org
Sun Feb 24 13:50:49 CET 2013


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  8dc93006d6cafb6c3cd248d0d89de924ce72422e (commit)
      from  8865c39b605018c9ae570e610af9732a3289216f (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 -----------------------------------------------------------------
commit 8dc93006d6cafb6c3cd248d0d89de924ce72422e
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Feb 24 13:50:30 2013 +0100

    scmgit: fix display activity by default

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index f9cede5..f87d3a2 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -837,7 +837,7 @@ class GitPlugin extends SCMPlugin {
 		if (! $project->usesPlugin($this->name)) {
 			return false;
 		}
-		if (in_array('scmgit', $params['show'])) {
+		if (in_array('scmgit', $params['show']) || (count($params['show']) < 1)) {
 			$start_time = $params['begin'];
 			$end_time = $params['end'];
 			$repo = forge_get_config('repos_path', 'scmgit') . '/' . $project->getUnixName() . '/' . $project->getUnixName() . '.git';

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list