Browse Source

removed unused server variable from __sleep()

master
Roland Gruber 21 years ago
parent
commit
1ee795d686
  1. 2
      lam/lib/ldap.php

2
lam/lib/ldap.php

@ -164,7 +164,7 @@ class Ldap{
// closes connection to LDAP server before serialization
function __sleep() {
$this->close();
return array("conf", "server", "username", "password");
return array("conf", "username", "password");
}
// reconnects to LDAP server when deserialized

Loading…
Cancel
Save