Browse Source

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 năm trước cách đây
mục cha
commit
90b3bf88ea
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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;