remove isset()
parent
8dab89e140
commit
9ecbc5176e
|
@ -273,13 +273,13 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
|
||||||
protected function detectSvnAuth()
|
protected function detectSvnAuth()
|
||||||
{
|
{
|
||||||
$uri = parse_url($this->baseUrl);
|
$uri = parse_url($this->baseUrl);
|
||||||
if (!isset($uri['user']) || empty($uri['user'])) {
|
if (empty($uri['user'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->svnUsername = $uri['user'];
|
$this->svnUsername = $uri['user'];
|
||||||
|
|
||||||
if (isset($uri['pass']) && !empty($uri['pass'])) {
|
if (!empty($uri['pass'])) {
|
||||||
$this->svnPassword = $uri['pass'];
|
$this->svnPassword = $uri['pass'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue