From 187365db76c3eb5a35f12ec636d9cc3028e8059d Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Mon, 30 Aug 2010 21:50:25 +0000 Subject: [PATCH] IDF_Scm::isValidRevision() only ever takes one argument --- src/IDF/Views/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index 37d9ca9..18d79a2 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -181,7 +181,7 @@ class IDF_Views_Source $request_file)); return new Pluf_HTTP_Response_Redirect($url, 301); } - if (!$scm->isValidRevision($commit, $request_file)) { + if (!$scm->isValidRevision($commit)) { // Redirect to the first branch return new Pluf_HTTP_Response_Redirect($fburl); }