Skip to content

Commit 446e046

Browse files
authored
Merge pull request #103 from matidau/fixstates-backendstorage
fixstates skip IStateMachine::BACKENDSTORAGE for delete
2 parents 6575263 + afa8638 commit 446e046

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/utils/zpushadmin.php

+3
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,9 @@ static public function FixStatesUserToStatesLinking($username=false, $deviceId=f
10191019
if ($obsoleteState['type'] === IStateMachine::DEVICEDATA)
10201020
continue;
10211021

1022+
if ($obsoleteState['type'] === IStateMachine::BACKENDSTORAGE)
1023+
continue;
1024+
10221025
if (!in_array($obsoleteState['uuid'], $knownUuids)) {
10231026
if (is_numeric($obsoleteState['counter']))
10241027
$obsoleteState['counter']++;

0 commit comments

Comments
 (0)