Follow up r70498. Actually remove the quickUserCan().
authorPlatonides <platonides@users.mediawiki.org>
Thu, 5 Aug 2010 14:46:14 +0000 (14:46 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 5 Aug 2010 14:46:14 +0000 (14:46 +0000)
includes/parser/Parser.php

index 6efa1f2..961974b 100644 (file)
@@ -3701,12 +3701,6 @@ class Parser {
 
                $doNumberHeadings = $this->mOptions->getNumberHeadings();
                
-
-               # Do not call quickUserCan unless necessary
-               if ( $showEditLink && !$this->mTitle->quickUserCan( 'edit' ) ) {
-                       $showEditLink = 0;
-               }
-
                # Inhibit editsection links if requested in the page
                if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {
                        $showEditLink = 0;