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
1 changed files with 3 additions and 3 deletions

View File

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