diff MySQL/Plugins/IndexPlugin.cpp @ 28:c0cb5d2cd696

checks depending on Orthanc version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jul 2018 14:48:43 +0200
parents 17f849b2af34
children 5600949bfb12
line wrap: on
line diff
--- a/MySQL/Plugins/IndexPlugin.cpp	Sat Jul 14 13:18:31 2018 +0200
+++ b/MySQL/Plugins/IndexPlugin.cpp	Mon Jul 16 14:48:43 2018 +0200
@@ -32,9 +32,7 @@
 {
   ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context)
   {
-    if (!OrthancDatabases::InitializePlugin
-        (context, "MySQL index", 
-         "Stores the Orthanc index into a MySQL database."))
+    if (!OrthancDatabases::InitializePlugin(context, "MySQL", true))
     {
       return -1;
     }