# HG changeset patch # User Sebastien Jodogne # Date 1445329450 -7200 # Node ID 88b74d8512bed703936449da3543b2a8893053c6 # Parent 3b1f7e706d38f55803118e3b2a7007085bd294e2 removed unused flavor of ServerIndex::LookupIdentifier diff -r 3b1f7e706d38 -r 88b74d8512be OrthancServer/ServerIndex.cpp --- a/OrthancServer/ServerIndex.cpp Tue Oct 20 10:21:41 2015 +0200 +++ b/OrthancServer/ServerIndex.cpp Tue Oct 20 10:24:10 2015 +0200 @@ -1930,26 +1930,6 @@ } - void ServerIndex::LookupIdentifier(LookupResults& result, - const DicomTag& tag, - const std::string& value) - { - result.clear(); - - boost::mutex::scoped_lock lock(mutex_); - - std::list id; - db_.LookupIdentifier(id, tag, value); - - for (std::list::const_iterator - it = id.begin(); it != id.end(); ++it) - { - result.push_back(std::make_pair(db_.GetResourceType(*it), - db_.GetPublicId(*it))); - } - } - - StoreStatus ServerIndex::AddAttachment(const FileInfo& attachment, const std::string& publicId) { diff -r 3b1f7e706d38 -r 88b74d8512be OrthancServer/ServerIndex.h --- a/OrthancServer/ServerIndex.h Tue Oct 20 10:21:41 2015 +0200 +++ b/OrthancServer/ServerIndex.h Tue Oct 20 10:24:10 2015 +0200 @@ -245,10 +245,6 @@ const DicomTag& tag, const std::string& value); - void LookupIdentifier(LookupResults& result, - const DicomTag& tag, - const std::string& value); - StoreStatus AddAttachment(const FileInfo& attachment, const std::string& publicId);