r60822 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60821‎ | r60822 | r60823 >
Date:01:39, 8 January 2010
Author:demon
Status:ok
Tags:
Comment:
$fname -> __METHOD__
Modified paths:
  • /trunk/phase3/includes/Math.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Math.php
@@ -34,7 +34,6 @@
3535 function render() {
3636 global $wgTmpDirectory, $wgInputEncoding;
3737 global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor;
38 - $fname = 'MathRenderer::render';
3938
4039 if( $this->mode == MW_MATH_SOURCE ) {
4140 # No need to render or parse anything more!
@@ -179,7 +178,7 @@
180179 'math_html_conservativeness' => $this->conservativeness,
181180 'math_html' => $this->html,
182181 'math_mathml' => $this->mathml,
183 - ), $fname
 182+ ), __METHOD__
184183 );
185184 }
186185
@@ -204,14 +203,13 @@
205204
206205 function _recall() {
207206 global $wgMathDirectory, $wgMathCheckFiles;
208 - $fname = 'MathRenderer::_recall';
209207
210208 $this->md5 = md5( $this->tex );
211209 $dbr = wfGetDB( DB_SLAVE );
212210 $rpage = $dbr->selectRow( 'math',
213211 array( 'math_outputhash','math_html_conservativeness','math_html','math_mathml' ),
214212 array( 'math_inputhash' => $dbr->encodeBlob(pack("H32", $this->md5))), # Binary packed, not hex
215 - $fname
 213+ __METHOD__
216214 );
217215
218216 if( $rpage !== false ) {

Status & tagging log