Skip to content

Commit

Permalink
fixstates skip IStateMachine::BACKENDSTORAGE for delete
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Aug 19, 2024
1 parent 6575263 commit afa8638
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/utils/zpushadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,9 @@ static public function FixStatesUserToStatesLinking($username=false, $deviceId=f
if ($obsoleteState['type'] === IStateMachine::DEVICEDATA)
continue;

if ($obsoleteState['type'] === IStateMachine::BACKENDSTORAGE)
continue;

if (!in_array($obsoleteState['uuid'], $knownUuids)) {
if (is_numeric($obsoleteState['counter']))
$obsoleteState['counter']++;
Expand Down

0 comments on commit afa8638

Please sign in to comment.