Remove partial patch mixed in with last commit
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 2 Aug 2007 12:36:34 +0000 (12:36 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 2 Aug 2007 12:36:34 +0000 (12:36 +0000)
includes/Title.php

index aa912df..028df68 100644 (file)
@@ -1006,23 +1006,6 @@ class Title {
                }
                return false;
        }
-
-       public function getUserPermissionsErrorPage( $action, $user, $doExpensiveQueries = true )
-       {
-               $errors = $this->getUserPermissionsErrors( $action, $user, $doExpensiveQueries );
-               $text = '';
-
-               $text .= $wgParser->parse( wfMsg('permissionserrorstext') );
-               $this->addHtml( '<ul class="permissions-errors">' . "\n" );
-
-               foreach( $errors as $error )
-               {
-                       $this->addHtml( '<li>' );
-                       $this->addWikiText( call_user_func_array( 'wfMsg', $error ) );
-                       $this->addHtml( '</li>');
-               }
-               $this->addHtml( '</ul>' );
-       }
        
        /**
         * Can $wgUser perform $action on this page?