From 284b6f97f6e23bccfb9e10e6c378ddf4e5e9eadd Mon Sep 17 00:00:00 2001 From: hengsin Date: Thu, 8 Feb 2024 02:42:36 +0800 Subject: [PATCH] IDEMPIERE-6031 Redundant code in MSetup.createClient method (#2232) --- org.adempiere.base/src/org/compiere/model/MSetup.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/MSetup.java b/org.adempiere.base/src/org/compiere/model/MSetup.java index 5997941a9a..1705e54059 100644 --- a/org.adempiere.base/src/org/compiere/model/MSetup.java +++ b/org.adempiere.base/src/org/compiere/model/MSetup.java @@ -339,10 +339,6 @@ public final class MSetup MUser clientUser = new MUser(m_ctx, 0, m_trx.getTrxName()); - name = userClient; - if (name == null || name.length() == 0) - name = m_clientName + "Client"; - name = userOrg; if (name == null || name.length() == 0) name = m_clientName + "Org";