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 = new IDF_Scm_Svn($rep, $project);
$scm->username = $conf->getVal('svn_username'); $scm->username = $conf->getVal('svn_username');
$scm->password = $conf->getVal('svn_password'); $scm->password = $conf->getVal('svn_password');
return $scm;
} else { } else {
$rep = sprintf(Pluf::f('svn_repositories'), $project->shortname); $rep = sprintf(Pluf::f('svn_repositories'), $project->shortname);
return new IDF_Scm_Svn($rep, $project); return new IDF_Scm_Svn($rep, $project);