in case we have cached 'fake' inboxes, make sure we rebuild them running initializeinbox.php
This commit is contained in:
parent
ec873922e3
commit
82f2fe8cca
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user