diff PostgreSQL/Plugins/StoragePlugin.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 eedd082355f9
line wrap: on
line diff
--- a/PostgreSQL/Plugins/StoragePlugin.cpp	Sat Jul 14 13:18:31 2018 +0200
+++ b/PostgreSQL/Plugins/StoragePlugin.cpp	Mon Jul 16 14:48:43 2018 +0200
@@ -28,9 +28,7 @@
 {
   ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context)
   {
-    if (!OrthancDatabases::InitializePlugin
-        (context, "PostgreSQL storage area", 
-         "Stores the Orthanc storage area into a PostgreSQL database."))
+    if (!OrthancDatabases::InitializePlugin(context, "PostgreSQL", false))
     {
       return -1;
     }