git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e394a6
)
do not show tools when looking at revision
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 17 Apr 2012 17:36:11 +0000
(19:36 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 17 Apr 2012 17:36:11 +0000
(19:36 +0200)
src/phorkie/File.php
patch
|
blob
|
history
diff --git
a/src/phorkie/File.php
b/src/phorkie/File.php
index 3c6c56d7e432912d00c47db9546fd7aed9cc62ee..bc0950fce26f1c1d583649f2e6440b5b1b5db904 100644
(file)
--- a/
src/phorkie/File.php
+++ b/
src/phorkie/File.php
@@
-123,6
+123,10
@@
class File
*/
public function getToolInfos()
{
*/
public function getToolInfos()
{
+ if ($this->repo->hash !== null) {
+ return array();
+ }
+
$tm = new Tool_Manager();
return $tm->getSuitable($this);
}
$tm = new Tool_Manager();
return $tm->getSuitable($this);
}