mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Update: Allow the version to increase only
This commit is contained in:
@@ -311,7 +311,8 @@ namespace OpenSim.Services.InventoryService
|
||||
if (check.Type != -1 || xFolder.type != -1)
|
||||
return false;
|
||||
|
||||
xFolder.version = check.Version;
|
||||
if (xFolder.version < check.Version)
|
||||
xFolder.version = check.Version;
|
||||
xFolder.folderID = check.ID;
|
||||
|
||||
return m_Database.StoreFolder(xFolder);
|
||||
|
||||
Reference in New Issue
Block a user