Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Omit comment to remove any confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Nov 12, 2020
1 parent bf6939b commit 7d265fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Adldap.php
Expand Up @@ -153,10 +153,8 @@ public function connect($name = null, $username = null, $password = null)
public function __call($method, $parameters)
{
$provider = $this->getDefaultProvider();

if (!$provider->getConnection()->isBound()) {
// We'll make sure we have a bound connection before
// allowing dynamic calls on the default provider.

if (! $provider->getConnection()->isBound()) {
$provider->connect();
}

Expand Down

0 comments on commit 7d265fd

Please sign in to comment.