Fixed issue 238, missing return statement for the subversion backend.

This commit is contained in:
Loic d'Anterroches 2009-06-24 14:49:06 +02:00
parent 3848bd8d22
commit 7d3f7e226c

View File

@ -126,6 +126,7 @@ class IDF_Scm_Svn extends IDF_Scm
$scm = new IDF_Scm_Svn($rep, $project);
$scm->username = $conf->getVal('svn_username');
$scm->password = $conf->getVal('svn_password');
return $scm;
} else {
$rep = sprintf(Pluf::f('svn_repositories'), $project->shortname);
return new IDF_Scm_Svn($rep, $project);