Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -931,7 +931,7 @@ |
932 | 932 | 'cantcreateaccount-text', |
933 | 933 | $block->getTarget(), |
934 | 934 | $block_reason, |
935 | | - $block->getBlocker()->getName() |
| 935 | + $block->getByName() |
936 | 936 | ); |
937 | 937 | |
938 | 938 | $out->returnToMain( false ); |
Index: trunk/extensions/SignupAPI/includes/SpecialUserSignup.php |
— | — | @@ -617,7 +617,7 @@ |
618 | 618 | 'cantcreateaccount-text', |
619 | 619 | $block->getTarget(), |
620 | 620 | $block_reason, |
621 | | - $block->getBlocker()->getName() |
| 621 | + $block->getByName() |
622 | 622 | ); |
623 | 623 | |
624 | 624 | $wgOut->returnToMain( false ); |