From f294eab92a4e44c0ad8790b7875173a1340f4b5c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 15 Jan 2009 23:07:49 +0000 Subject: [PATCH] is_readonly() -> isReadOnly() --- index.php | 2 +- lib/action.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 3cecb5c8b6..387b642e2c 100644 --- a/index.php +++ b/index.php @@ -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 207be3c824..2a8f5677c5 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; } -- 2.39.5