mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Yannick Lecaillez
13.10.2015 16bf42a413dbda902b4dfbd0b61cd41fe2a18937
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
@@ -1790,18 +1790,6 @@
    // Remove the children counter for this entry.
    id2childrenCount.deleteCount(txn, leafID);
    // Iterate up through the superior entries from the target entry.
    final DN parentDN = getParentWithinBase(targetDN);
    if (parentDN != null)
    {
      final EntryID parentID = dn2id.get(txn, parentDN);
      if (parentID == null)
      {
        throw new StorageRuntimeException(ERR_MISSING_DN2ID_RECORD.get(parentDN).toString());
      }
      id2childrenCount.addDelta(txn, parentID, -1);
    }
    // Remove the entry from the entry cache.
    EntryCache<?> entryCache = DirectoryServer.getEntryCache();
    if (entryCache != null)