From: Chad Horohoe Date: Fri, 8 Jan 2010 01:39:14 +0000 (+0000) Subject: $fname -> __METHOD__ X-Git-Tag: 1.31.0-rc.0~38360 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=786d42ba360254f2df00c4503a9726d9a61007b4;p=lhc%2Fweb%2Fwiklou.git $fname -> __METHOD__ --- diff --git a/includes/Math.php b/includes/Math.php index 70f4b81de7..8cf9b8d897 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -34,7 +34,6 @@ class MathRenderer { function render() { global $wgTmpDirectory, $wgInputEncoding; global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor; - $fname = 'MathRenderer::render'; if( $this->mode == MW_MATH_SOURCE ) { # No need to render or parse anything more! @@ -179,7 +178,7 @@ class MathRenderer { 'math_html_conservativeness' => $this->conservativeness, 'math_html' => $this->html, 'math_mathml' => $this->mathml, - ), $fname + ), __METHOD__ ); } @@ -204,14 +203,13 @@ class MathRenderer { function _recall() { global $wgMathDirectory, $wgMathCheckFiles; - $fname = 'MathRenderer::_recall'; $this->md5 = md5( $this->tex ); $dbr = wfGetDB( DB_SLAVE ); $rpage = $dbr->selectRow( 'math', array( 'math_outputhash','math_html_conservativeness','math_html','math_mathml' ), array( 'math_inputhash' => $dbr->encodeBlob(pack("H32", $this->md5))), # Binary packed, not hex - $fname + __METHOD__ ); if( $rpage !== false ) {