Mercurial > hg > orthanc-databases
comparison PostgreSQL/Plugins/IndexPlugin.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 |
---|---|
34 if (!OrthancDatabases::InitializePlugin(context, "PostgreSQL", true)) | 34 if (!OrthancDatabases::InitializePlugin(context, "PostgreSQL", true)) |
35 { | 35 { |
36 return -1; | 36 return -1; |
37 } | 37 } |
38 | 38 |
39 OrthancPlugins::OrthancConfiguration configuration(context); | 39 OrthancPlugins::OrthancConfiguration configuration; |
40 | 40 |
41 if (!configuration.IsSection("PostgreSQL")) | 41 if (!configuration.IsSection("PostgreSQL")) |
42 { | 42 { |
43 LOG(WARNING) << "No available configuration for the PostgreSQL index plugin"; | 43 LOG(WARNING) << "No available configuration for the PostgreSQL index plugin"; |
44 return 0; | 44 return 0; |