comparison OrthancServer/OrthancRestApi/OrthancRestSystem.cpp @ 1233:eac00401cb96

fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Dec 2014 17:18:18 +0100
parents f1c01451a8ee
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
1232:f1c01451a8ee 1233:eac00401cb96
120 120
121 static void ListPlugins(RestApiGetCall& call) 121 static void ListPlugins(RestApiGetCall& call)
122 { 122 {
123 Json::Value v = Json::arrayValue; 123 Json::Value v = Json::arrayValue;
124 124
125 v.append("explorer.js");
126
125 if (OrthancRestApi::GetContext(call).HasPlugins()) 127 if (OrthancRestApi::GetContext(call).HasPlugins())
126 { 128 {
127 std::list<std::string> plugins; 129 std::list<std::string> plugins;
128 OrthancRestApi::GetContext(call).GetPluginsManager().ListPlugins(plugins); 130 OrthancRestApi::GetContext(call).GetPluginsManager().ListPlugins(plugins);
129 131