Unused call to wfMsg('math_unknown_error')
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 1 May 2006 10:40:31 +0000 (10:40 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 1 May 2006 10:40:31 +0000 (10:40 +0000)
includes/Math.php

index 6381137..e40abdf 100644 (file)
@@ -160,7 +160,6 @@ class MathRenderer {
 
        function _error( $msg, $append = '' ) {
                $mf   = htmlspecialchars( wfMsg( 'math_failure' ) );
-               $munk = htmlspecialchars( wfMsg( 'math_unknown_error' ) );
                $errmsg = htmlspecialchars( wfMsg( $msg ) );
                $source = htmlspecialchars( str_replace( "\n", ' ', $this->tex ) );
                return "<strong class='error'>$mf ($errmsg$append): $source</strong>\n";