Mercurial > hg > orthanc
diff OrthancServer/Scheduler/DeleteInstanceCommand.cpp @ 1145:0479d02c6778
Plugins can retrieve the path to Orthanc and to its configuration file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Sep 2014 13:06:16 +0200 |
parents | 060e8918d7a4 |
children | 6e7e5ed91c2d |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/DeleteInstanceCommand.cpp Thu Sep 11 10:26:32 2014 +0200 +++ b/OrthancServer/Scheduler/DeleteInstanceCommand.cpp Thu Sep 11 13:06:16 2014 +0200 @@ -47,7 +47,7 @@ try { Json::Value tmp; - context_.GetIndex().DeleteResource(tmp, *it, ResourceType_Instance); + context_.DeleteResource(tmp, *it, ResourceType_Instance); } catch (OrthancException& e) {