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
3c6c56d
..
bc0950f
100644
(file)
--- a/
src/phorkie/File.php
+++ b/
src/phorkie/File.php
@@
-123,6
+123,10
@@
class File
*/
public function getToolInfos()
{
+ if ($this->repo->hash !== null) {
+ return array();
+ }
+
$tm = new Tool_Manager();
return $tm->getSuitable($this);
}