Set "archive" status
This commit is contained in:
parent
e21db0fe6d
commit
12d37835b4
|
@ -1225,7 +1225,7 @@ class PostUpdate
|
|||
$inbox[] = $apcontact['sharedinbox'];
|
||||
}
|
||||
$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;
|
||||
}
|
||||
DBA::close($apcontacts);
|
||||
|
|
Loading…
Reference in New Issue
Block a user