mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/DEV/THOR1 to HEAD:
30966: MT: rationalise getDomain(...) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,7 +27,6 @@ import java.util.Map;
|
||||
|
||||
import org.alfresco.repo.i18n.MessageService;
|
||||
import org.alfresco.repo.jscript.ScriptNode;
|
||||
import org.alfresco.repo.tenant.MultiTServiceImpl;
|
||||
import org.alfresco.repo.tenant.TenantService;
|
||||
import org.alfresco.service.cmr.dictionary.DictionaryService;
|
||||
import org.alfresco.service.cmr.dictionary.TypeDefinition;
|
||||
@@ -342,7 +341,7 @@ public class WorkflowObjectFactory
|
||||
public Boolean apply(T value)
|
||||
{
|
||||
String key = processKeyGetter.apply(value);
|
||||
String domain = MultiTServiceImpl.getMultiTenantDomainName(key);
|
||||
String domain = tenantService.getDomain(key, false);
|
||||
if(enabled)
|
||||
{
|
||||
if(currentDomain.equals(domain))
|
||||
|
Reference in New Issue
Block a user