From ba219fa8053efc0a806a4f6b2924da23174a2653 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 8 Jun 2011 08:46:44 -0400 Subject: [PATCH] include a dummy non-empty value for sitesum queue items --- plugins/EmailSummary/sendemailsummary.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/EmailSummary/sendemailsummary.php b/plugins/EmailSummary/sendemailsummary.php index aad79c7360..af39f772f5 100644 --- a/plugins/EmailSummary/sendemailsummary.php +++ b/plugins/EmailSummary/sendemailsummary.php @@ -44,7 +44,7 @@ if (have_option('u', 'universe')) { StatusNet::init($server); // Different queue manager, maybe! $qm = QueueManager::get(); - $qm->enqueue(null, 'sitesum'); + $qm->enqueue(1, 'sitesum'); } } } else { @@ -54,6 +54,6 @@ if (have_option('u', 'universe')) { $user = getUser(); $qm->enqueue($user->id, 'usersum'); } catch (NoUserArgumentException $nuae) { - $qm->enqueue(null, 'sitesum'); + $qm->enqueue(1, 'sitesum'); } } -- 2.39.5