Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 212:f276b175dcaf
delete resources
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 10:13:49 +0100 |
parents | 4453a010d0db |
children | bb8c260c0092 |
comparison
equal
deleted
inserted
replaced
211:b7aea293b965 | 212:f276b175dcaf |
---|---|
121 } | 121 } |
122 }; | 122 }; |
123 } | 123 } |
124 | 124 |
125 | 125 |
126 bool ServerIndex::DeleteInternal(Json::Value& target, | 126 bool ServerIndex::DeleteResource(Json::Value& target, |
127 const std::string& uuid, | 127 const std::string& uuid, |
128 ResourceType expectedType) | 128 ResourceType expectedType) |
129 { | 129 { |
130 boost::mutex::scoped_lock lock(mutex_); | 130 boost::mutex::scoped_lock lock(mutex_); |
131 | 131 |