Update: Allow the version to increase only
parent
d7086a776a
commit
9cde4fa52b
|
@ -288,7 +288,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);
|
||||
|
|
Loading…
Reference in New Issue