From c7bfa67aa6771e7dcbcb9ccf61edaddf0ec61c36 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 12 Jun 2009 23:05:17 -0400 Subject: [PATCH] Remove isFile() checks that just make dealing with branches harder --- chora/browsefile.php | 4 ---- chora/patchsets.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/chora/browsefile.php b/chora/browsefile.php index d4c3ea32a..0c1854f09 100644 --- a/chora/browsefile.php +++ b/chora/browsefile.php @@ -19,10 +19,6 @@ if ($atdir) { exit; } -if (!$VC->isFile($fullname)) { - Chora::fatal(sprintf(_("$fullname: no such file or directory"), $where), '404 Not Found'); -} - $onb = Horde_Util::getFormData('onb'); try { $fl = $VC->getFileObject($where, array('branch' => $onb)); diff --git a/chora/patchsets.php b/chora/patchsets.php index 9380659c5..803df522e 100644 --- a/chora/patchsets.php +++ b/chora/patchsets.php @@ -21,10 +21,6 @@ if (!$GLOBALS['VC']->hasFeature('patchsets')) { exit; } -if (!$VC->isFile($fullname)) { - Chora::fatal(sprintf(_("%s: no such file or directory"), $where), '404 Not Found'); -} - $ps_opts = array(); if ($ps_id = Horde_Util::getFormData('ps')) { $ps_opts['range'] = array($ps_id); -- 2.11.0