[Fusionforge-commits] FusionForge branch master updated. 31aad9a6dc34c0029d912985712eedce9c4c3f4f

Franck VILLAUME nerville at fusionforge.org
Sun May 26 13:54:56 CEST 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  31aad9a6dc34c0029d912985712eedce9c4c3f4f (commit)
      from  1ee669cb78cbee51b84710c46bc2220011bcbbd5 (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 31aad9a6dc34c0029d912985712eedce9c4c3f4f
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun May 26 13:54:33 2013 +0200

    Cronjob project_smus: remove obsolete query

diff --git a/src/cronjobs/db_project_sums.php b/src/cronjobs/db_project_sums.php
index 036e196..66099e6 100755
--- a/src/cronjobs/db_project_sums.php
+++ b/src/cronjobs/db_project_sums.php
@@ -3,6 +3,7 @@
 /**
  * Portions Copyright 1999-2001 (c) VA Linux Systems
  * The rest Copyright 2002-2004 (c) GForge Team
+ * Copyright 2013, Franck Villaume - TrivialDev
  * http://fusionforge.org/
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -142,30 +143,6 @@ GROUP BY group_id,type',
 
 }
 
-/*
-	Forum message count
-*/
-if (forge_get_config('use_forum')) {
-	$res=db_query_params ('INSERT INTO project_sums_agg
-SELECT forum_group_list.group_id,$1 AS type, count(forum.msg_id) AS count
-FROM forum,forum_group_list
-WHERE forum.group_forum_id=forum_group_list.group_forum_id
-AND forum_group_list.is_public=1
-GROUP BY group_id,type',
-			      array('fmsg'));
-	$err .= db_error();
-
-/*
-	Forum count
-*/
-	$res=db_query_params ('INSERT INTO project_sums_agg
-SELECT group_id,$1 AS type, count(*) AS count
-FROM forum_group_list
-WHERE is_public=1
-GROUP BY group_id,type',
-			      array('fora'));
-	$err .= db_error();
-}
 db_commit();
 $err .= db_error();
 

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

Summary of changes:
 src/cronjobs/db_project_sums.php |   25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list