# HG changeset patch # User Alain Mazy # Date 1666006712 -7200 # Node ID e29987d80ecf1341d7963f89a021187ed1d38ce7 # Parent b3787f4aa16a1a5d2f4cd516bec66790a7783103 fix diff -r b3787f4aa16a -r e29987d80ecf Azure/AzureBlobStoragePlugin.cpp --- a/Azure/AzureBlobStoragePlugin.cpp Sat Oct 15 07:49:30 2022 +0200 +++ b/Azure/AzureBlobStoragePlugin.cpp Mon Oct 17 13:38:32 2022 +0200 @@ -203,10 +203,10 @@ bool storageContainsUnknownFiles; bool createContainerIfNotExists; - if (orthancConfig.IsSection(PLUGIN_SECTION)) + if (orthancConfig.IsSection(GetConfigurationSectionName())) { OrthancPlugins::OrthancConfiguration pluginSection; - orthancConfig.GetSection(pluginSection, PLUGIN_SECTION); + orthancConfig.GetSection(pluginSection, GetConfigurationSectionName()); if (!BaseStorage::ReadCommonConfiguration(enableLegacyStorageStructure, storageContainsUnknownFiles, pluginSection)) { diff -r b3787f4aa16a -r e29987d80ecf Google/GoogleStoragePlugin.cpp --- a/Google/GoogleStoragePlugin.cpp Sat Oct 15 07:49:30 2022 +0200 +++ b/Google/GoogleStoragePlugin.cpp Mon Oct 17 13:38:32 2022 +0200 @@ -238,14 +238,14 @@ bool enableLegacyStorageStructure; bool storageContainsUnknownFiles; - if (!orthancConfig.IsSection(PLUGIN_SECTION)) + if (!orthancConfig.IsSection(GetConfigurationSectionName())) { OrthancPlugins::LogWarning(std::string(GetStoragePluginName()) + " plugin, section missing. Plugin is not enabled."); return nullptr; } OrthancPlugins::OrthancConfiguration pluginSection; - orthancConfig.GetSection(pluginSection, PLUGIN_SECTION); + orthancConfig.GetSection(pluginSection, GetConfigurationSectionName()); if (!BaseStorage::ReadCommonConfiguration(enableLegacyStorageStructure, storageContainsUnknownFiles, pluginSection)) {