Преглед изворни кода

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 година
родитељ
комит
90b3bf88ea
1 измењених фајлова са 0 додато и 2 уклоњено
  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;