From 35a2f8de4d46c403d6ca17695a8d040f003125c8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 13 Jan 2010 20:46:44 -0800 Subject: [PATCH] actually use the user id instead of 0 ;) --- scripts/initializeinbox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index 781179401c..44508fe22a 100644 --- a/scripts/initializeinbox.php +++ b/scripts/initializeinbox.php @@ -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"; -- 2.39.5