is_readonly() -> isReadOnly()
This commit is contained in:
parent
4b0cf99e56
commit
f294eab92a
@ -55,7 +55,7 @@ if (file_exists($actionfile)) {
|
|||||||
|
|
||||||
$action_obj = new $action_class();
|
$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'])) {
|
if (is_array($config['db']['mirror'])) {
|
||||||
// "load balancing", ha ha
|
// "load balancing", ha ha
|
||||||
$k = array_rand($config['db']['mirror']);
|
$k = array_rand($config['db']['mirror']);
|
||||||
|
@ -460,7 +460,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function is_readonly()
|
function isReadOnly()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user