Update: Allow the version to increase only

prebuild-update
Melanie 2010-09-02 00:02:07 +01:00
parent 93edc75147
commit 7efe7feef5
1 changed files with 2 additions and 1 deletions

View File

@ -311,6 +311,7 @@ namespace OpenSim.Services.InventoryService
if (check.Type != -1 || xFolder.type != -1) if (check.Type != -1 || xFolder.type != -1)
return false; return false;
if (xFolder.version < check.Version)
xFolder.version = check.Version; xFolder.version = check.Version;
xFolder.folderID = check.ID; xFolder.folderID = check.ID;