From: Brion Vibber Date: Thu, 14 Jan 2010 04:11:00 +0000 (-0800) Subject: Gracefully skip missing user entries when initializing inboxes in bulk X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec873922e3af7efd1aa6d26ea19c90999f9961b3;p=quix0rs-gnu-social.git Gracefully skip missing user entries when initializing inboxes in bulk --- diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index bc31cba153..5ae9f7d036 100644 --- a/scripts/initializeinbox.php +++ b/scripts/initializeinbox.php @@ -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); }