mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged DEV to HEAD
52182: MT: Remove some unused code and add @Override for DAO methods 52183: ALF-19172: Disable sys:undeletable aspect while deleting test's tenants 52274: Allow post-test tenant deletion by implementing hacks against ALF-19155 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1261,25 +1261,6 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
|
||||
}
|
||||
}
|
||||
|
||||
public void resetCache(String tenantDomain)
|
||||
{
|
||||
if (existsTenant(tenantDomain))
|
||||
{
|
||||
if (isEnabledTenant(tenantDomain))
|
||||
{
|
||||
enableTenant(tenantDomain);
|
||||
}
|
||||
else
|
||||
{
|
||||
disableTenant(tenantDomain);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new AuthenticationException("No such tenant " + tenantDomain);
|
||||
}
|
||||
}
|
||||
|
||||
protected void initTenant(String tenantDomain, String contentRoot, String dbUrl)
|
||||
{
|
||||
validateTenantName(tenantDomain);
|
||||
|
Reference in New Issue
Block a user