Ver código fonte

Refactor workunits

Remove incorrect check suppressing results when interface version < 1.17.

The ability to suppress results was added in version 1.17 of the interface,
but users of earlier versions expect the default to be to return results,
not to suppress them.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 anos atrás
pai
commit
90b3bf88ea
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      esp/services/ws_workunits/ws_workunitsHelpers.cpp

+ 0 - 2
esp/services/ws_workunits/ws_workunitsHelpers.cpp

@@ -1227,8 +1227,6 @@ void WsWuInfo::getResult(IConstWUResult &r, IArrayOf<IEspECLResult>& results, un
 
 bool WsWuInfo::getResults(IEspECLWorkunit &info, unsigned flags)
 {
-    if (version < 1.17)
-        return true;
     try
     {
         unsigned count = 0;