Преглед на файлове

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;