Index: trunk/phase3/includes/Math.php |
— | — | @@ -34,7 +34,6 @@ |
35 | 35 | function render() { |
36 | 36 | global $wgTmpDirectory, $wgInputEncoding; |
37 | 37 | global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor; |
38 | | - $fname = 'MathRenderer::render'; |
39 | 38 | |
40 | 39 | if( $this->mode == MW_MATH_SOURCE ) { |
41 | 40 | # No need to render or parse anything more! |
— | — | @@ -179,7 +178,7 @@ |
180 | 179 | 'math_html_conservativeness' => $this->conservativeness, |
181 | 180 | 'math_html' => $this->html, |
182 | 181 | 'math_mathml' => $this->mathml, |
183 | | - ), $fname |
| 182 | + ), __METHOD__ |
184 | 183 | ); |
185 | 184 | } |
186 | 185 | |
— | — | @@ -204,14 +203,13 @@ |
205 | 204 | |
206 | 205 | function _recall() { |
207 | 206 | global $wgMathDirectory, $wgMathCheckFiles; |
208 | | - $fname = 'MathRenderer::_recall'; |
209 | 207 | |
210 | 208 | $this->md5 = md5( $this->tex ); |
211 | 209 | $dbr = wfGetDB( DB_SLAVE ); |
212 | 210 | $rpage = $dbr->selectRow( 'math', |
213 | 211 | array( 'math_outputhash','math_html_conservativeness','math_html','math_mathml' ), |
214 | 212 | array( 'math_inputhash' => $dbr->encodeBlob(pack("H32", $this->md5))), # Binary packed, not hex |
215 | | - $fname |
| 213 | + __METHOD__ |
216 | 214 | ); |
217 | 215 | |
218 | 216 | if( $rpage !== false ) { |