From: Aaron Schulz Date: Wed, 20 Aug 2008 08:40:37 +0000 (+0000) Subject: * Profile a tad more X-Git-Tag: 1.31.0-rc.0~45779 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=7e3a7c1b9f4c76c31a739ccd7de60d99e69c7095;p=lhc%2Fweb%2Fwiklou.git * Profile a tad more * Code style tweak --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index bbbcff0d58..3beb863b0c 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -432,6 +432,7 @@ class SkinTemplate extends Skin { } wfProfileOut( __METHOD__."-stuff4" ); + wfProfileIn( __METHOD__."-stuff5" ); # Personal toolbar $tpl->set('personal_urls', $this->buildPersonalUrls()); $content_actions = $this->buildContentActionUrls(); @@ -457,6 +458,7 @@ class SkinTemplate extends Skin { // allow extensions adding stuff after the page content. // See Skin::afterContentHook() for further documentation. $tpl->set ('dataAfterContent', $this->afterContentHook()); + wfProfileOut( __METHOD__."-stuff5" ); // execute template wfProfileIn( __METHOD__."-execute" ); @@ -714,7 +716,7 @@ class SkinTemplate extends Skin { 'href' => $this->mTitle->getLocalUrl( 'action=history') ); - if($wgUser->isAllowed('delete')){ + if( $wgUser->isAllowed('delete') ) { $content_actions['delete'] = array( 'class' => ($action == 'delete') ? 'selected' : false, 'text' => wfMsg('delete'),