From: Evan Prodromou <evan@controlyourself.ca>
Date: Thu, 23 Apr 2009 09:34:56 +0000 (+0000)
Subject: incorrect config setting for queues
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=31b04220bd9fbadbfac01b60276a9c14896b6a45;p=quix0rs-gnu-social.git

incorrect config setting for queues
---

diff --git a/classes/Notice.php b/classes/Notice.php
index ff00f2a946..ebed0b8af5 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();