in case we have cached 'fake' inboxes, make sure we rebuild them running initializeinbox.php

This commit is contained in:
Brion Vibber 2010-01-13 20:30:42 -08:00
parent ec873922e3
commit 82f2fe8cca
1 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,12 @@ function initializeInbox($user)
$inbox = Inbox::staticGet('user_id', $user_id);
if ($inbox && !empty($inbox->fake)) {
if (!have_option('q', 'quiet')) {
echo "(replacing faux cached inbox)";
}
$inbox = false;
}
if (!empty($inbox)) {
if (!have_option('q', 'quiet')) {
print "SKIP\n";