Index: trunk/phase3/includes/Title.php |
— | — | @@ -1006,23 +1006,6 @@ |
1007 | 1007 | } |
1008 | 1008 | return false; |
1009 | 1009 | } |
1010 | | - |
1011 | | - public function getUserPermissionsErrorPage( $action, $user, $doExpensiveQueries = true ) |
1012 | | - { |
1013 | | - $errors = $this->getUserPermissionsErrors( $action, $user, $doExpensiveQueries ); |
1014 | | - $text = ''; |
1015 | | - |
1016 | | - $text .= $wgParser->parse( wfMsg('permissionserrorstext') ); |
1017 | | - $this->addHtml( '<ul class="permissions-errors">' . "\n" ); |
1018 | | - |
1019 | | - foreach( $errors as $error ) |
1020 | | - { |
1021 | | - $this->addHtml( '<li>' ); |
1022 | | - $this->addWikiText( call_user_func_array( 'wfMsg', $error ) ); |
1023 | | - $this->addHtml( '</li>'); |
1024 | | - } |
1025 | | - $this->addHtml( '</ul>' ); |
1026 | | - } |
1027 | 1010 | |
1028 | 1011 | /** |
1029 | 1012 | * Can $wgUser perform $action on this page? |