forked from GNUsocial/gnu-social
add inbox to list of always-readwrite tables
This commit is contained in:
parent
ecb3abf84c
commit
46b11070fe
@ -150,7 +150,7 @@ function checkMirror($action_obj, $args)
|
|||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
static $alwaysRW = array('session', 'remember_me');
|
static $alwaysRW = array('session', 'remember_me', 'inbox');
|
||||||
|
|
||||||
if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) {
|
if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) {
|
||||||
if (is_array(common_config('db', 'mirror'))) {
|
if (is_array(common_config('db', 'mirror'))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user