Skip to content

Commit

Permalink
Nope i didn't broke issue #4.
Browse files Browse the repository at this point in the history
I need a coffee break.
  • Loading branch information
djmaze committed Sep 24, 2020
1 parent 0a2149c commit 62660b2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public function getDavClient(string $sUrl, string $sUser, string $sPassword, str

$sPath = $oClient->__UrlPath__;

$bGood = false;
$bGood = true;
if ('' === $sPath || '/' === $sPath || !$this->checkContactsPath($oClient, $sPath))
{
$sNewPath = '';
Expand Down Expand Up @@ -598,10 +598,6 @@ public function getDavClient(string $sUrl, string $sUser, string $sPassword, str

$bGood = $this->checkContactsPath($oClient, $sPath);
}
else
{
$bGood = true;
}

return $bGood ? $oClient : null;
}
Expand Down

0 comments on commit 62660b2

Please sign in to comment.