mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
LdapConnection: Let self::bind() return $this
This commit is contained in:
parent
8ed816002b
commit
f06be5c9bc
@ -314,7 +314,7 @@ class LdapConnection implements Selectable, Inspectable
|
|||||||
public function bind()
|
public function bind()
|
||||||
{
|
{
|
||||||
if ($this->bound) {
|
if ($this->bound) {
|
||||||
return;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ds = $this->getConnection();
|
$ds = $this->getConnection();
|
||||||
@ -332,6 +332,7 @@ class LdapConnection implements Selectable, Inspectable
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->bound = true;
|
$this->bound = true;
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user