AVMLockAwareService.purgeStore - should remove store locks if called directly (minor consistency fix)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2010-06-10 10:15:28 +00:00
parent ceb1fe4875
commit 1062614187

View File

@@ -655,6 +655,12 @@ public class AVMLockingAwareService implements AVMService, ApplicationContextAwa
public void purgeStore(String name) public void purgeStore(String name)
{ {
fService.purgeStore(name); fService.purgeStore(name);
String webProject = WCMUtil.getWebProject(fService, name);
if (webProject != null)
{
fLockingService.removeStoreLocks(name);
}
} }
/* (non-Javadoc) /* (non-Javadoc)