projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9485c83
)
Empty stats methods for cpold
author
Roland Mas
<lolando@debian.org>
Thu, 27 Aug 2009 13:39:39 +0000
(13:39 +0000)
committer
Roland Mas
<lolando@debian.org>
Thu, 27 Aug 2009 13:39:39 +0000
(13:39 +0000)
gforge/plugins/scmcpold/common/CpoldPlugin.class.php
patch
|
blob
|
history
diff --git
a/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
b/gforge/plugins/scmcpold/common/CpoldPlugin.class.php
index 6da73161b55aff34f97f4b5ad25f27823a7b2ccb..096f6683f060be2652a30a7686ae0fc34341e8b0 100644
(file)
--- a/
gforge/plugins/scmcpold/common/CpoldPlugin.class.php
+++ b/
gforge/plugins/scmcpold/common/CpoldPlugin.class.php
@@
-56,6
+56,25
@@
class CpoldPlugin extends SCMPlugin {
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: