]> source.dussan.org Git - nextcloud-server.git/commit
Fix unmerged shares repair with mixed group and direct shares
authorVincent Petry <pvince81@owncloud.com>
Fri, 12 Aug 2016 10:06:57 +0000 (12:06 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 17 Aug 2016 17:38:33 +0000 (19:38 +0200)
commitc1ad88a7774ac6d10b00a0a80c3d25b601a418a1
tree3f033dcdbad0f22e70eb4dac0a40369e1da0bcb0
parent837dc0b33649d0aa6e676601d393f1f5bc354f40
Fix unmerged shares repair with mixed group and direct shares

Whenever a group share is created after a direct share, the stime order
needs to be properly considered in the repair routine, considering that
the direct user share is appended to the $subShares array and breaking
its order.
lib/private/Repair/RepairUnmergedShares.php
tests/lib/Repair/RepairUnmergedSharesTest.php