From: Sam Reed Date: Wed, 18 Aug 2010 13:40:59 +0000 (+0000) Subject: Minor followup to r71250 X-Git-Tag: 1.31.0-rc.0~35453 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=232483afccb5b8886f1f8d90cde0f939b350cba4;p=lhc%2Fweb%2Fwiklou.git Minor followup to r71250 Remove accidentally committed patch --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 222a9622c2..b9ce24f070 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2525,7 +2525,7 @@ class DBConnectionError extends DBError { } function getHTML() { - global $wgLang, $wgMessageCache, $wgUseFileCache, $wgShowDBErrorBacktrace, $wgContLang; + global $wgLang, $wgMessageCache, $wgUseFileCache, $wgShowDBErrorBacktrace; $sorry = 'Sorry! This site is experiencing technical difficulties.'; $again = 'Try waiting a few minutes and reloading.'; @@ -2560,13 +2560,6 @@ class DBConnectionError extends DBError { $cache = $this->fileCachedPage(); # Cached version on file system? if( $cache !== null ) { - # Adding support for RTL languages - if ( $wgContLang !== null ) { - if ( $wgContLang->isRTL() ) { - $cache = str_replace( '', '', $cache ); - } - } - # Hack: extend the body for error messages $cache = str_replace( array('',''), '', $cache ); # Add cache notice...