forked from GNUsocial/gnu-social
Gracefully skip missing user entries when initializing inboxes in bulk
This commit is contained in:
parent
f827242bce
commit
ec873922e3
@ -72,7 +72,7 @@ try {
|
||||
foreach ($ids as $id) {
|
||||
$user = User::staticGet('id', $id);
|
||||
if (empty($user)) {
|
||||
throw new Exception("Can't find user with id '$id'.");
|
||||
print "Can't find user with id '$id'.\n";
|
||||
}
|
||||
initializeInbox($user);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user