Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -267,7 +267,7 @@ |
268 | 268 | $watch = $wgRequest->getText( 'wpWatchthis' ); |
269 | 269 | |
270 | 270 | # Get the location and length of the record braces to replace |
271 | | - foreach ( $this->examineBraces( $text ) as $brace ) if ( $brace['NAME'] == $type ) $braces = $brace; |
| 271 | + foreach ( self::examineBraces( $text ) as $brace ) if ( $brace['NAME'] == $type ) $braces = $brace; |
272 | 272 | |
273 | 273 | # Attempt to save the article if allowed |
274 | 274 | if ( !$wgSecurityProtectRecords || $this->template->userCan( 'edit' ) ) { |
— | — | @@ -291,7 +291,7 @@ |
292 | 292 | |
293 | 293 | # Extract current values from article |
294 | 294 | $braces = false; |
295 | | - foreach ( $this->examineBraces( $text ) as $brace ) if ( $brace['NAME'] == $type ) $braces = $brace; |
| 295 | + foreach ( self::examineBraces( $text ) as $brace ) if ( $brace['NAME'] == $type ) $braces = $brace; |
296 | 296 | if ( $braces ) { |
297 | 297 | |
298 | 298 | # Fill in current values |
— | — | @@ -733,7 +733,7 @@ |
734 | 734 | $max = 25; |
735 | 735 | do { |
736 | 736 | $braces = false; |
737 | | - foreach ( $this->examineBraces( $this->form ) as $brace ) { |
| 737 | + foreach ( self::examineBraces( $this->form ) as $brace ) { |
738 | 738 | if ( $brace['DEPTH'] == 2 ) $braces = $brace; |
739 | 739 | } |
740 | 740 | if ( $braces ) { |