Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.cpp @ 219:dd6cfc250747
removed useless class StorageAreaBuffer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Mar 2021 14:52:55 +0200 |
parents | c2e4a909de0e |
children | 492aa3edf572 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp Fri Mar 26 18:06:46 2021 +0100 +++ b/Framework/Plugins/IndexBackend.cpp Mon Mar 29 14:52:55 2021 +0200 @@ -2214,13 +2214,11 @@ void IndexBackend::Register(IndexBackend& backend) { - OrthancPluginContext* context = backend.GetContext(); - bool hasLoadedV3 = false; #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 2) - if (OrthancPluginCheckVersionAdvanced(context, 1, 9, 2) == 1) + if (OrthancPluginCheckVersionAdvanced(backend.GetContext(), 1, 9, 2) == 1) { OrthancDatabases::DatabaseBackendAdapterV3::Register(backend); hasLoadedV3 = true;