summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-23 09:34:56 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-04-23 09:34:56 +0000
commit31b04220bd9fbadbfac01b60276a9c14896b6a45 (patch)
tree9fa4c79cb5f716b238290b70a71bfbf0b09cb6e8 /classes
parent85c7b8df7101185907a43a8d83d54805a8473c2e (diff)
incorrect config setting for queues
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index ff00f2a94..ebed0b8af 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -197,7 +197,7 @@ class Notice extends Memcached_DataObject
$notice->saveTags();
$notice->saveGroups();
- if (!common_config('queues', 'enabled')) {
+ if (!common_config('queue', 'enabled')) {
$notice->addToInboxes();
}
@@ -210,7 +210,7 @@ class Notice extends Memcached_DataObject
# XXX: someone clever could prepend instead of clearing the cache
if (common_config('memcached', 'enabled')) {
- if (common_config('queues', 'enabled')) {
+ if (common_config('queue', 'enabled')) {
$notice->blowAuthorCaches();
} else {
$notice->blowCaches();