[Fusionforge-commits] r15596 - trunk/src/cronjobs

Julien HEYMAN jheyman at fusionforge.org
Tue May 29 16:04:45 CEST 2012


Author: jheyman
Date: 2012-05-29 16:04:43 +0200 (Tue, 29 May 2012)
New Revision: 15596

Modified:
   trunk/src/cronjobs/calculate_user_metric.php
Log:
Fix user id in calculate_user_metric cronjobs

Modified: trunk/src/cronjobs/calculate_user_metric.php
===================================================================
--- trunk/src/cronjobs/calculate_user_metric.php	2012-05-29 13:56:55 UTC (rev 15595)
+++ trunk/src/cronjobs/calculate_user_metric.php	2012-05-29 14:04:43 UTC (rev 15596)
@@ -76,7 +76,7 @@
 
 foreach(RBACEngine::getInstance()->getUsersByAllowedAction ('project_admin',forge_get_config('peer_rating_group')) as $u) {
 	db_query_params ('INSERT INTO user_metric0 (user_id,times_ranked,avg_raters_importance,avg_rating,metric,percentile,importance_factor) VALUES ($1,5,1.25,3,0,0,1.25)',
-			array (forge_get_config('peer_rating_group'))) ;
+			array ($u->getID())) ;
 	$err .= db_error();
 }
 




More information about the Fusionforge-commits mailing list