comparison MySQL/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 4c3f767ead03
children 714c5d2bee76
comparison
equal deleted inserted replaced
60:412e30336847 62:eedd082355f9
38 } 38 }
39 39
40 Orthanc::Toolbox::InitializeOpenSsl(); 40 Orthanc::Toolbox::InitializeOpenSsl();
41 Orthanc::HttpClient::GlobalInitialize(); 41 Orthanc::HttpClient::GlobalInitialize();
42 42
43 OrthancPlugins::OrthancConfiguration configuration(context); 43 OrthancPlugins::OrthancConfiguration configuration;
44 44
45 if (!configuration.IsSection("MySQL")) 45 if (!configuration.IsSection("MySQL"))
46 { 46 {
47 LOG(WARNING) << "No available configuration for the MySQL storage area plugin"; 47 LOG(WARNING) << "No available configuration for the MySQL storage area plugin";
48 return 0; 48 return 0;