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

jvergara
18.36.2008 3baf38c823e31bddf3c2905e8781653404ab995c
opends/src/guitools/org/opends/guitools/controlpanel/task/DeleteEntryTask.java
@@ -78,6 +78,7 @@
  private long lastProgressTime;
  private boolean equivalentCommandWithControlPrinted = false;
  private boolean equivalentCommandWithoutControlPrinted = false;
  private boolean useAdminCtx;
  /**
   * Constructor of the task.
@@ -237,6 +238,7 @@
          {
            InitialLdapContext ctx =
              controller.findConnectionForDisplayedEntry(node);
            useAdminCtx = controller.isConfigurationNode(node);
            if (node.getNumSubOrdinates() > 0)
            {
              deleteSubtreeWithControl(ctx, dn, path, toNotify);
@@ -511,7 +513,7 @@
    ArrayList<String> args = new ArrayList<String>();
    args.add(getCommandLinePath("ldapdelete"));
    args.addAll(getObfuscatedCommandLineArguments(
        getConnectionCommandLineArguments()));
        getConnectionCommandLineArguments(useAdminCtx, true)));
    if (usingControl)
    {
      args.add("-J");