diff OrthancServer/Sources/ServerContext.cpp @ 4694:da1edb7d6332

"/tools/bulk-delete" to delete a group of multiple, unrelated resources at once
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jun 2021 17:37:47 +0200
parents 521e39b3f2c0
children f0038043fb97 2f35e6b765e5
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp	Wed Jun 16 16:44:04 2021 +0200
+++ b/OrthancServer/Sources/ServerContext.cpp	Wed Jun 16 17:37:47 2021 +0200
@@ -1188,7 +1188,7 @@
   }
 
 
-  bool ServerContext::DeleteResource(Json::Value& target,
+  bool ServerContext::DeleteResource(Json::Value& remainingAncestor,
                                      const std::string& uuid,
                                      ResourceType expectedType)
   {
@@ -1199,7 +1199,7 @@
       PublishDicomCacheMetrics();
     }
 
-    return index_.DeleteResource(target, uuid, expectedType);
+    return index_.DeleteResource(remainingAncestor, uuid, expectedType);
   }