From: Christian Weiske Date: Tue, 17 Apr 2012 17:36:11 +0000 (+0200) Subject: do not show tools when looking at revision X-Git-Tag: v0.1.0~19 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/8406133d01bfc5fc6c5ed95735e45d7a4adfbb41 do not show tools when looking at revision --- diff --git a/src/phorkie/File.php b/src/phorkie/File.php index 3c6c56d..bc0950f 100644 --- 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); }