1
0
Fork 0

remove isset()

pull/377/head
till 2012-03-04 19:46:22 +01:00
parent 8dab89e140
commit 9ecbc5176e
1 changed files with 2 additions and 2 deletions

View File

@ -273,13 +273,13 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
protected function detectSvnAuth()
{
$uri = parse_url($this->baseUrl);
if (!isset($uri['user']) || empty($uri['user'])) {
if (empty($uri['user'])) {
return;
}
$this->svnUsername = $uri['user'];
if (isset($uri['pass']) && !empty($uri['pass'])) {
if (!empty($uri['pass'])) {
$this->svnPassword = $uri['pass'];
}