diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-13 20:11:00 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-13 20:11:00 -0800 |
commit | ec873922e3af7efd1aa6d26ea19c90999f9961b3 (patch) | |
tree | e8da5aab7aa8fbd52e39ca5f805d21f5451080d4 /scripts/initializeinbox.php | |
parent | f827242bce51a2b35e2cbac7db19bc81542c9d0b (diff) |
Gracefully skip missing user entries when initializing inboxes in bulk
Diffstat (limited to 'scripts/initializeinbox.php')
-rw-r--r-- | scripts/initializeinbox.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index bc31cba15..5ae9f7d03 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); } |