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