add inbox to list of always-readwrite tables

This commit is contained in:
Evan Prodromou 2010-01-11 18:31:49 -08:00
parent ecb3abf84c
commit 46b11070fe

View File

@ -150,7 +150,7 @@ function checkMirror($action_obj, $args)
{
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 (is_array(common_config('db', 'mirror'))) {