diff options
-rw-r--r-- | scripts/initializeinbox.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index 5ae9f7d03..781179401 100644 --- a/scripts/initializeinbox.php +++ b/scripts/initializeinbox.php @@ -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"; |