We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ec873922 authored by Brion Vibber's avatar Brion Vibber

Gracefully skip missing user entries when initializing inboxes in bulk

parent f827242b
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment