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