From 4beabe23e7d6f5bf3d65d8b593e0e22dac1f8cb3 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 7 Jun 2012 18:13:41 +0200 Subject: ldap: enable the destructor --- apps/user_ldap/lib_ldap.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps') diff --git a/apps/user_ldap/lib_ldap.php b/apps/user_ldap/lib_ldap.php index 753243f2c4a..45be86aff81 100644 --- a/apps/user_ldap/lib_ldap.php +++ b/apps/user_ldap/lib_ldap.php @@ -52,6 +52,8 @@ class OC_LDAP { static protected $ldapGroupDisplayName; static protected $ldapLoginFilter; + static protected $__d; + /** * @brief initializes the LDAP backend * @param $force read the config settings no matter what @@ -59,6 +61,9 @@ class OC_LDAP { * initializes the LDAP backend */ static public function init($force = false) { + if(is_null(self::$__d)) { + self::$__d = new OC_LDAP_DESTRUCTOR(); + } self::readConfiguration($force); self::establishConnection(); } -- cgit v1.2.3