We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 35a2f8de authored by Brion Vibber's avatar Brion Vibber

actually use the user id instead of 0 ;)

parent 82f2fe8c
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment