From: Evan Prodromou Date: Wed, 8 Jun 2011 12:46:44 +0000 (-0400) Subject: include a dummy non-empty value for sitesum queue items X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba219fa8053efc0a806a4f6b2924da23174a2653;p=quix0rs-gnu-social.git include a dummy non-empty value for sitesum queue items --- 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'); } }