diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 23:07:49 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 23:07:49 +0000 |
commit | f294eab92a4e44c0ad8790b7875173a1340f4b5c (patch) | |
tree | 077e43fcceb6f7d4254b45e203be087cbb9ace3d | |
parent | 4b0cf99e56f965e10eeb8b8b19e7b405bda49eaf (diff) |
is_readonly() -> isReadOnly()
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | lib/action.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ if (file_exists($actionfile)) { $action_obj = new $action_class(); - if ($config['db']['mirror'] && $action_obj->is_readonly()) { + if ($config['db']['mirror'] && $action_obj->isReadOnly()) { if (is_array($config['db']['mirror'])) { // "load balancing", ha ha $k = array_rand($config['db']['mirror']); diff --git a/lib/action.php b/lib/action.php index 207be3c82..2a8f5677c 100644 --- a/lib/action.php +++ b/lib/action.php @@ -460,7 +460,7 @@ class Action extends HTMLOutputter // lawsuit return null; } - function is_readonly() + function isReadOnly() { return false; } |