summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-11 18:31:49 -0800
committerEvan Prodromou <evan@status.net>2010-01-11 18:31:49 -0800
commit46b11070fe2f31561b89d933e15582fa2389e842 (patch)
tree66a6181477f4ec121e9b6f70649a2b19ea4c412a
parentecb3abf84c8b6e868a523b8e721484cb7a4e0f63 (diff)
add inbox to list of always-readwrite tables
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 47cde8740..59805f600 100644
--- a/index.php
+++ b/index.php
@@ -29,7 +29,7 @@
* @author Robin Millette <millette@controlyourself.ca>
* @author Sarven Capadisli <csarven@controlyourself.ca>
* @author Tom Adams <tom@holizz.com>
- *
+ *
* @license GNU Affero General Public License http://www.gnu.org/licenses/
*/
@@ -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'))) {