[Fusionforge-commits] r7983 - trunk/gforge/plugins/scmcpold/common

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Aug 27 15:39:39 CEST 2009


Author: lolando
Date: 2009-08-27 15:39:39 +0200 (Thu, 27 Aug 2009)
New Revision: 7983

Modified:
   trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
Log:
Empty stats methods for cpold

Modified: trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
===================================================================
--- trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php	2009-08-27 13:39:29 UTC (rev 7982)
+++ trunk/gforge/plugins/scmcpold/common/CpoldPlugin.class.php	2009-08-27 13:39:39 UTC (rev 7983)
@@ -56,6 +56,25 @@
 		return $b ;
 	}
 
+	function getStats ($params) {
+		$group_id = $params['group_id'] ;
+		$project =& group_get_object($group_id);
+		if (!$project || !is_object($project)) {
+			return false;
+		} elseif ($project->isError()) {
+			return false;
+		}
+		
+		if ($project->usesPlugin ($this->name)) {
+			echo ' (CPOLD)';
+		}
+	}
+	
+	function getDetailedStats ($params) {
+		return ;
+	}
+
+
   }
 
 // Local Variables:




More information about the Fusionforge-commits mailing list