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:
Jan Vonka
2009-06-18 20:14:02 +00:00
parent 7d5dd9faf5
commit 3045926665

View File

@@ -444,7 +444,6 @@ public class NamespaceDAOImpl implements NamespaceDAO
if (! tenantDomain.equals(TenantService.DEFAULT_DOMAIN))
{
namespaceRegistryThreadLocal.set(namespaceRegistry);
}
if (defaultNamespaceRegistryThreadLocal.get() == null)
@@ -487,6 +486,7 @@ public class NamespaceDAOImpl implements NamespaceDAO
}
else
{
defaultNamespaceRegistryThreadLocal.set(null); // it's in the cache, clear the threadlocal
namespaceRegistryThreadLocal.set(null); // it's in the cache, clear the threadlocal
}
}