Fix isEncrypted function broken by refactaring

refs #9608
This commit is contained in:
Matthias Jentsch 2015-07-15 11:46:22 +02:00
parent 7daa97a166
commit af58d6964b

View File

@ -160,7 +160,7 @@ class LdapConnection implements Selectable, Inspectable
* *
* @var bool * @var bool
*/ */
protected $encryptionSuccess; protected $encrypted = null;
/** /**
* @var array * @var array
@ -295,11 +295,11 @@ class LdapConnection implements Selectable, Inspectable
*/ */
public function isEncrypted() public function isEncrypted()
{ {
if ($this->encryptionSuccess === null) { if ($this->encrypted === null) {
return false; return false;
} }
return $this->encryptionSuccess; return $this->encrypted;
} }
/** /**