IDF_Scm::isValidRevision() only ever takes one argument

This commit is contained in:
Thomas Keller 2010-08-30 21:50:25 +00:00
parent e26a5c8cdf
commit 187365db76

View File

@ -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);
}