Set "archive" status
This commit is contained in:
parent
e21db0fe6d
commit
12d37835b4
1 changed files with 1 additions and 1 deletions
|
@ -1225,7 +1225,7 @@ class PostUpdate
|
||||||
$inbox[] = $apcontact['sharedinbox'];
|
$inbox[] = $apcontact['sharedinbox'];
|
||||||
}
|
}
|
||||||
$condition = DBA::mergeConditions(['url' => $inbox], ["`gsid` IS NULL"]);
|
$condition = DBA::mergeConditions(['url' => $inbox], ["`gsid` IS NULL"]);
|
||||||
DBA::update('inbox-status', ['gsid' => $apcontact['gsid']], $condition);
|
DBA::update('inbox-status', ['gsid' => $apcontact['gsid'], 'archive' => GServer::isDefunctById($apcontact['gsid'])], $condition);
|
||||||
++$rows;
|
++$rows;
|
||||||
}
|
}
|
||||||
DBA::close($apcontacts);
|
DBA::close($apcontacts);
|
||||||
|
|
Loading…
Reference in a new issue