Explorar el Código

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 hace 13 años
padre
commit
90b3bf88ea
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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;