summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-14 19:14:39 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-14 19:14:39 +0000
commit0b3bd63a30fa9d47e5bf7e63e58b74ceffe36049 (patch)
tree70dc38865639b0d8a88d8b342e8677ce8caf952f /index.php
parent4c29cda000b4598cdf33d1ae81a53da06051a505 (diff)
parent41b247ac1ac1f7752f5449d772307d78a6102964 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index e83d08c13..e24bde917 100644
--- a/index.php
+++ b/index.php
@@ -128,7 +128,7 @@ function main()
// XXX: find somewhere for this little block to live
- if (common_config('db', 'mirror') && $action_obj->isReadOnly()) {
+ if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) {
if (is_array(common_config('db', 'mirror'))) {
// "load balancing", ha ha
$arr = common_config('db', 'mirror');