]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
is_readonly() -> isReadOnly()
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 23:07:49 +0000 (23:07 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 23:07:49 +0000 (23:07 +0000)
index.php
lib/action.php

index 3cecb5c8b6c3825d5e2e116ba05a2574191231ba..387b642e2c6a2e8a81772bbbf8b29f36b1c1ffcc 100644 (file)
--- 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']);
index 207be3c8248597572a6fb20c07aa99d784a96468..2a8f5677c571158e9cfc7e752900fed142ef2bbb 100644 (file)
@@ -460,7 +460,7 @@ class Action extends HTMLOutputter // lawsuit
         return null;
     }
 
-    function is_readonly()
+    function isReadOnly()
     {
         return false;
     }