incorrect config setting for queues

This commit is contained in:
Evan Prodromou 2009-04-23 09:34:56 +00:00
parent 85c7b8df71
commit 31b04220bd
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ class Notice extends Memcached_DataObject
$notice->saveTags(); $notice->saveTags();
$notice->saveGroups(); $notice->saveGroups();
if (!common_config('queues', 'enabled')) { if (!common_config('queue', 'enabled')) {
$notice->addToInboxes(); $notice->addToInboxes();
} }
@ -210,7 +210,7 @@ class Notice extends Memcached_DataObject
# XXX: someone clever could prepend instead of clearing the cache # XXX: someone clever could prepend instead of clearing the cache
if (common_config('memcached', 'enabled')) { if (common_config('memcached', 'enabled')) {
if (common_config('queues', 'enabled')) { if (common_config('queue', 'enabled')) {
$notice->blowAuthorCaches(); $notice->blowAuthorCaches();
} else { } else {
$notice->blowCaches(); $notice->blowCaches();