forked from GNUsocial/gnu-social
incorrect config setting for queues
This commit is contained in:
parent
85c7b8df71
commit
31b04220bd
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user