include a dummy non-empty value for sitesum queue items

This commit is contained in:
Evan Prodromou 2011-06-08 08:46:44 -04:00
parent 65005d35ce
commit ba219fa805

View File

@ -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');
}
}