Index: branches/REL1_15/extensions/ConfirmEdit/ConfirmEdit_body.php |
— | — | @@ -15,11 +15,11 @@ |
16 | 16 | return $wgCaptcha; |
17 | 17 | } |
18 | 18 | |
19 | | - static function confirmEdit( &$editPage, $newtext, $section ) { |
| 19 | + static function confirmEdit( $editPage, $newtext, $section ) { |
20 | 20 | return self::getInstance()->confirmEdit( $editPage, $newtext, $section ); |
21 | 21 | } |
22 | 22 | |
23 | | - static function confirmEditMerged( &$editPage, $newtext ) { |
| 23 | + static function confirmEditMerged( $editPage, $newtext ) { |
24 | 24 | return self::getInstance()->confirmEditMerged( $editPage, $newtext ); |
25 | 25 | } |
26 | 26 | |
— | — | @@ -458,7 +458,7 @@ |
459 | 459 | * Backend function for confirmEdit() and confirmEditAPI() |
460 | 460 | * @return bool false if the CAPTCHA is rejected, true otherwise |
461 | 461 | */ |
462 | | - private function doConfirmEdit( &$editPage, $newtext, $section, $merged = false ) { |
| 462 | + private function doConfirmEdit( $editPage, $newtext, $section, $merged = false ) { |
463 | 463 | if( $this->shouldCheck( $editPage, $newtext, $section, $merged ) ) { |
464 | 464 | if( $this->passCaptcha() ) { |
465 | 465 | return true; |
— | — | @@ -479,7 +479,7 @@ |
480 | 480 | * @param bool $merged |
481 | 481 | * @return bool true to continue saving, false to abort and show a captcha form |
482 | 482 | */ |
483 | | - function confirmEdit( &$editPage, $newtext, $section, $merged = false ) { |
| 483 | + function confirmEdit( $editPage, $newtext, $section, $merged = false ) { |
484 | 484 | if( defined('MW_API') ) { |
485 | 485 | # API mode |
486 | 486 | # The CAPTCHA was already checked and approved |
— | — | @@ -497,7 +497,7 @@ |
498 | 498 | * @param EditPage $editPage |
499 | 499 | * @param string $newtext |
500 | 500 | */ |
501 | | - function confirmEditMerged( &$editPage, $newtext ) { |
| 501 | + function confirmEditMerged( $editPage, $newtext ) { |
502 | 502 | return $this->confirmEdit( $editPage, $newtext, false, true ); |
503 | 503 | } |
504 | 504 | |
Property changes on: branches/REL1_15/extensions/ConfirmEdit/ConfirmEdit_body.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
505 | 505 | + /trunk/extensions/ConfirmEdit/ConfirmEdit_body.php:50133,50219,53461 |