Fixed issue 238, missing return statement for the subversion backend.
This commit is contained in:
parent
3848bd8d22
commit
7d3f7e226c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user