Fix visibility of error handlers
[lhc/web/wiklou.git] / includes / db / Database.php
index b315fac..1cbffd8 100644 (file)
@@ -772,8 +772,9 @@ abstract class DatabaseBase implements DatabaseType {
        /**
         * @param $errno
         * @param $errstr
+        * @access private
         */
-       protected function connectionErrorHandler( $errno, $errstr ) {
+       public function connectionErrorHandler( $errno, $errstr ) {
                $this->mPHPError = $errstr;
        }