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->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();
|
||||||
|
Loading…
Reference in New Issue
Block a user