| public static function getRemoteAccessUrl($project)␊ | 
| {␊ | 
| $conf = $project->getConf();␊ | 
| if (false !== ($url=$conf->getVal('svn_remote_url', false))) {␊ | 
| if (false !== ($url=$conf->getVal('svn_remote_url', false)) ␊ | 
| && !empty($url)) {␊ | 
| // Remote repository␊ | 
| return $url;␊ | 
| }␊ | 
|  | 
| {␊ | 
| $conf = $project->getConf();␊ | 
| // Find the repository␊ | 
| if (false !== ($rep=$conf->getVal('svn_remote_url', false))) {␊ | 
| if (false !== ($rep=$conf->getVal('svn_remote_url', false)) ␊ | 
| && !empty($rep)) {␊ | 
| // Remote repository␊ | 
| return new IDF_Scm_Svn($rep,␊ | 
| $conf->getVal('svn_username'),␊ |