diff --git a/library/Icinga/Protocol/Ldap/Root.php b/library/Icinga/Protocol/Ldap/Root.php index 0ace0e19c..51202e64e 100644 --- a/library/Icinga/Protocol/Ldap/Root.php +++ b/library/Icinga/Protocol/Ldap/Root.php @@ -143,6 +143,11 @@ class Root return $this->children; } + public function countChildren() + { + return count($this->children); + } + /** * @return bool */