Update: Allow the version to increase only
parent
93edc75147
commit
7efe7feef5
|
@ -311,7 +311,8 @@ namespace OpenSim.Services.InventoryService
|
||||||
if (check.Type != -1 || xFolder.type != -1)
|
if (check.Type != -1 || xFolder.type != -1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
xFolder.version = check.Version;
|
if (xFolder.version < check.Version)
|
||||||
|
xFolder.version = check.Version;
|
||||||
xFolder.folderID = check.ID;
|
xFolder.folderID = check.ID;
|
||||||
|
|
||||||
return m_Database.StoreFolder(xFolder);
|
return m_Database.StoreFolder(xFolder);
|
||||||
|
|
Loading…
Reference in New Issue