src/Classes/AdldapGroups.php
public function removeGroup($parentName, $childName)
    {
        $parentDn = $this->dn($parentName);

        $childDn = $this->dn($childName);

        if (is_string($parentDn) && is_string($childDn)) {
            $del = [];
            $del['member'] = $childDn;

            return $this->connection->modDelete($parentDn, $del);
        }

        return false;
    }
public function removeGroup($parentName, $childName)
    {
        $parentDn = $this->dn($parentName);

        $childDn = $this->dn($childName);

        if (is_string($parentDn) && is_string($childDn)) {
            $del = [];
            $del['member'] = $childDn;

            return $this->connection->modDelete($parentDn, $del);
        }

        return false;
    }
public function removeGroup ( $ parentName , $ childName ) { $ parentDn = $ this -> dn ( $ parentName ) ; $ childDn = $ this -> dn ( $ childName ) ; if ( is_string ( $ parentDn ) && is_string ( $ childDn ) ) { $ del = [ ] ; $ del [ 'member' ] = $ childDn ; return $ this -> connection -> modDelete ( $ parentDn , $ del ) ; } return false ; }
Remove a group from a group.

@param string $parentName The parent group name
@param string $childName  The child group name

@return bool
Remove a group from a group .