is_readonly() -> isReadOnly()

This commit is contained in:
Evan Prodromou 2009-01-15 23:07:49 +00:00
parent 4b0cf99e56
commit f294eab92a
2 changed files with 2 additions and 2 deletions

View File

@ -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']);

View File

@ -460,7 +460,7 @@ class Action extends HTMLOutputter // lawsuit
return null;
}
function is_readonly()
function isReadOnly()
{
return false;
}