mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALFCOM-2977 - follow-on (for MT bootstrap)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -444,7 +444,6 @@ public class NamespaceDAOImpl implements NamespaceDAO
|
|||||||
if (! tenantDomain.equals(TenantService.DEFAULT_DOMAIN))
|
if (! tenantDomain.equals(TenantService.DEFAULT_DOMAIN))
|
||||||
{
|
{
|
||||||
namespaceRegistryThreadLocal.set(namespaceRegistry);
|
namespaceRegistryThreadLocal.set(namespaceRegistry);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defaultNamespaceRegistryThreadLocal.get() == null)
|
if (defaultNamespaceRegistryThreadLocal.get() == null)
|
||||||
@@ -487,6 +486,7 @@ public class NamespaceDAOImpl implements NamespaceDAO
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
defaultNamespaceRegistryThreadLocal.set(null); // it's in the cache, clear the threadlocal
|
||||||
namespaceRegistryThreadLocal.set(null); // it's in the cache, clear the threadlocal
|
namespaceRegistryThreadLocal.set(null); // it's in the cache, clear the threadlocal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user