Add IDatabase::isReadOnly() method
[lhc/web/wiklou.git] / includes / db / DBConnRef.php
index 5a8fe92..53e9a50 100644 (file)
@@ -513,6 +513,10 @@ class DBConnRef implements IDatabase {
                return $this->__call( __FUNCTION__, func_get_args() );
        }
 
+       public function isReadOnly() {
+               return $this->__call( __FUNCTION__, func_get_args() );
+       }
+
        /**
         * Clean up the connection when out of scope
         */