Removed unused local var from Description2.

This commit is contained in:
Sean Colombo 2011-07-07 18:03:08 +00:00
parent 627736f051
commit b7ba4ab627
Notes: Sean Colombo 2011-07-07 18:03:08 +00:00

View file

@ -49,7 +49,6 @@ function efDescription2SetDescription( $parser, $desc ) {
$wgHooks['ParserAfterTidy'][] = 'egDescription2ParserAfterTidy'; $wgHooks['ParserAfterTidy'][] = 'egDescription2ParserAfterTidy';
function egDescription2ParserAfterTidy( &$parser, &$text ) { function egDescription2ParserAfterTidy( &$parser, &$text ) {
global $wgContLang;
$desc = ''; $desc = '';
$myText = preg_replace('%<table\b[^>]*+>(?:(?R)|[^<]*+(?:(?!</?table\b)<[^<]*+)*+)*+</table>%i', '', $text); $myText = preg_replace('%<table\b[^>]*+>(?:(?R)|[^<]*+(?:(?!</?table\b)<[^<]*+)*+)*+</table>%i', '', $text);