summaryrefslogtreecommitdiff
path: root/app/Core/Ldap/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Ldap/Client.php')
-rw-r--r--app/Core/Ldap/Client.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Core/Ldap/Client.php b/app/Core/Ldap/Client.php
index cee67da5..867d67fe 100644
--- a/app/Core/Ldap/Client.php
+++ b/app/Core/Ldap/Client.php
@@ -198,4 +198,15 @@ class Client
{
return $this->logger;
}
+
+ /**
+ * Test if a logger is defined
+ *
+ * @access public
+ * @return boolean
+ */
+ public function hasLogger()
+ {
+ return $this->logger !== null;
+ }
}