forked from GNUsocial/gnu-social
actually use the user id instead of 0 ;)
This commit is contained in:
parent
82f2fe8cca
commit
35a2f8de4d
@ -91,7 +91,7 @@ function initializeInbox($user)
|
||||
print "Initializing inbox for $user->nickname...";
|
||||
}
|
||||
|
||||
$inbox = Inbox::staticGet('user_id', $user_id);
|
||||
$inbox = Inbox::staticGet('user_id', $user->id);
|
||||
|
||||
if ($inbox && !empty($inbox->fake)) {
|
||||
if (!have_option('q', 'quiet')) {
|
||||
@ -104,7 +104,7 @@ function initializeInbox($user)
|
||||
print "SKIP\n";
|
||||
}
|
||||
} else {
|
||||
$inbox = Inbox::initialize($user_id);
|
||||
$inbox = Inbox::initialize($user->id);
|
||||
if (!have_option('q', 'quiet')) {
|
||||
if (empty($inbox)) {
|
||||
print "ERR\n";
|
||||
|
Loading…
Reference in New Issue
Block a user