mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Got rid of the NewInAVMStore table by folding it into the AVMNode
table. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -143,10 +143,10 @@ public class AVMStoreImpl implements AVMStore, Serializable
|
||||
throw new AVMExistsException("Already snapshotted.");
|
||||
}
|
||||
// Clear out the new nodes.
|
||||
List<NewInAVMStore> newInRep = AVMContext.fgInstance.fNewInAVMStoreDAO.getByAVMStore(this);
|
||||
for (NewInAVMStore newGuy : newInRep)
|
||||
List<AVMNode> newInRep = AVMContext.fgInstance.fAVMNodeDAO.getNewInStore(this);
|
||||
for (AVMNode newGuy : newInRep)
|
||||
{
|
||||
AVMContext.fgInstance.fNewInAVMStoreDAO.delete(newGuy);
|
||||
newGuy.setStoreNew(null);
|
||||
}
|
||||
// Make up a new version record.
|
||||
VersionRoot versionRoot = new VersionRootImpl(this,
|
||||
|
Reference in New Issue
Block a user