From: Evan Prodromou Date: Thu, 15 Jan 2009 23:07:49 +0000 (+0000) Subject: is_readonly() -> isReadOnly() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f294eab92a4e44c0ad8790b7875173a1340f4b5c;p=quix0rs-gnu-social.git is_readonly() -> isReadOnly() --- 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; }