From: Platonides Date: Thu, 5 Aug 2010 14:46:14 +0000 (+0000) Subject: Follow up r70498. Actually remove the quickUserCan(). X-Git-Tag: 1.31.0-rc.0~35707 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=5dd9a37af327579c0efb7ee6145faeb217ef71d6;p=lhc%2Fweb%2Fwiklou.git Follow up r70498. Actually remove the quickUserCan(). --- 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;