From 232483afccb5b8886f1f8d90cde0f939b350cba4 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 18 Aug 2010 13:40:59 +0000 Subject: [PATCH] Minor followup to r71250 Remove accidentally committed patch --- includes/db/Database.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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... -- 2.20.1