projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98700aa
)
Only link to cvsgraph.php if we actually have a CVS repo.
author
Jan Schneider
<jan@horde.org>
Tue, 24 Aug 2010 14:02:30 +0000
(16:02 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 24 Aug 2010 14:02:30 +0000
(16:02 +0200)
chora/lib/Chora.php
patch
|
blob
|
history
diff --git
a/chora/lib/Chora.php
b/chora/lib/Chora.php
index
a05a639
..
f9016a2
100644
(file)
--- a/
chora/lib/Chora.php
+++ b/
chora/lib/Chora.php
@@
-325,7
+325,8
@@
class Chora
}
if ($GLOBALS['VC']->hasFeature('branches')) {
- if (empty($GLOBALS['conf']['paths']['cvsgraph'])) {
+ if (empty($GLOBALS['conf']['paths']['cvsgraph']) ||
+ !($GLOBALS['VC'] instanceof Horde_Vcs_Cvs)) {
$views[] = ($current == 'history')
? '<em class="widget">' . _("Branches") . '</em>'
: Horde::widget(self::url('history', $where), _("Branches"), 'widget', '', '', _("_Branches"));