From: Niklas Laxström Date: Thu, 10 Feb 2011 16:08:44 +0000 (+0000) Subject: Fix profiling X-Git-Tag: 1.31.0-rc.0~32072 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=30534ae13686f970babdd28bca6baf05f860f2fd;p=lhc%2Fweb%2Fwiklou.git Fix profiling --- diff --git a/includes/Linker.php b/includes/Linker.php index 26d28654fe..a74fb77b7e 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1667,11 +1667,10 @@ class Linker { * escape), or false for no accesskey attribute */ public function accesskey( $name ) { - wfProfileIn( __METHOD__ ); - if ( isset( $this->accesskeycache[$name] ) ) { return $this->accesskeycache[$name]; } + wfProfileIn( __METHOD__ ); $message = wfMessage( "accesskey-$name" );