Skip to content
Permalink
Browse files

Fixed: Switch ftpNotificationEnabled test condition to respect config…

…uration meaning

(OFBIZ-10245)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856541 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
gilPts committed Mar 29, 2019
1 parent 7a34878 commit 20afdb7dc536b1cd3191f0c6faf377503670ecf2
@@ -75,7 +75,7 @@ private static FtpClientInterface createFtpClient(String serverType)
boolean forceTransferControlSuccess = EntityUtilProperties.propertyValueEqualsIgnoreCase("ftp", "ftp.force.transfer.control", "Y", delegator);
boolean ftpNotificationEnabled = EntityUtilProperties.propertyValueEqualsIgnoreCase("ftp", "ftp.notifications.enabled", "Y", delegator);

if (ftpNotificationEnabled) return ServiceUtil.returnSuccess();
if (!ftpNotificationEnabled) return ServiceUtil.returnSuccess();

// for ECA communicationEvent process
Map<String, Object> resultMap = ServiceUtil.returnSuccess();

0 comments on commit 20afdb7

Please sign in to comment.
You can’t perform that action at this time.