comparison PostgreSQL/Plugins/StoragePlugin.cpp @ 62:eedd082355f9

fix for compatibility with simplified OrthancPluginCppWrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2018 08:57:16 +0100
parents c0cb5d2cd696
children 714c5d2bee76
comparison
equal deleted inserted replaced
60:412e30336847 62:eedd082355f9
31 if (!OrthancDatabases::InitializePlugin(context, "PostgreSQL", false)) 31 if (!OrthancDatabases::InitializePlugin(context, "PostgreSQL", false))
32 { 32 {
33 return -1; 33 return -1;
34 } 34 }
35 35
36 OrthancPlugins::OrthancConfiguration configuration(context); 36 OrthancPlugins::OrthancConfiguration configuration;
37 37
38 if (!configuration.IsSection("PostgreSQL")) 38 if (!configuration.IsSection("PostgreSQL"))
39 { 39 {
40 LOG(WARNING) << "No available configuration for the PostgreSQL storage area plugin"; 40 LOG(WARNING) << "No available configuration for the PostgreSQL storage area plugin";
41 return 0; 41 return 0;