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

jcduff
23.04.2008 b4f8838b15342670c31753a484abf0129e3c9653
opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElementConfigManager.java
@@ -233,7 +233,8 @@
    WorkflowElement workflowElement =
            DirectoryServer.getWorkflowElement(configuration.dn().toString());
            DirectoryServer.getWorkflowElement(
            configuration.getWorkflowElementId());
    if (workflowElement != null)
    {
      DirectoryServer.deregisterWorkflowElement(workflowElement);
@@ -291,7 +292,8 @@
    // Get the existing workflow element if it's already enabled.
    WorkflowElement existingWorkflowElement =
            DirectoryServer.getWorkflowElement(configuration.dn().toString());
            DirectoryServer.getWorkflowElement(
            configuration.getWorkflowElementId());
    // If the new configuration has the workflow element disabled,
    // then disable it if it is enabled, or do nothing if it's already disabled.