Skip to content

Commit 32cfef8

Browse files
committed
Merge pull request #103 from matidau/fixstates-backendstorage
fixstates skip IStateMachine::BACKENDSTORAGE for delete
1 parent d61e142 commit 32cfef8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/utils/zpushadmin.php

Lines changed: 3 additions & 0 deletions
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)