From 5dd9a37af327579c0efb7ee6145faeb217ef71d6 Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 5 Aug 2010 14:46:14 +0000 Subject: [PATCH] Follow up r70498. Actually remove the quickUserCan(). --- includes/parser/Parser.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 6efa1f268f..961974b345 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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; -- 2.20.1