r62854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62853‎ | r62854 | r62855 >
Date:22:30, 22 February 2010
Author:demon
Status:ok
Tags:
Comment:
Cleanup r62802, r62835 use __METHOD__ for wfProfileIn() calls. Also drop no-op wfLoadExtensionMessages()
Modified paths:
  • /trunk/extensions/Storyboard/specials/StoryReview/StoryReview_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Storyboard/specials/StoryReview/StoryReview_body.php
@@ -17,12 +17,10 @@
1818
1919 public function __construct() {
2020 parent::__construct( 'StoryReview' );
21 -
22 - wfLoadExtensionMessages( 'Storyboard' );
2321 }
2422
2523 public function execute( $language ) {
26 - wfProfileIn( 'StoryReview-special-page' );
 24+ wfProfileIn( __METHOD__ );
2725
2826 global $wgUser;
2927 if ( $wgUser->isAllowed( 'storyreview' ) && !$wgUser->isBlocked() ) {
@@ -34,7 +32,7 @@
3533 $wgOut->permissionRequired( 'storyreview' );
3634 }
3735
38 - wfProfileOut( 'StoryReview-special-page' );
 36+ wfProfileOut( __METHOD__ );
3937 }
4038
4139 private function addOutput() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62802Added new db fields and very rough layout for story review pagejeroendedauw01:50, 22 February 2010
r62835replaced spaces in profiling key namejeroendedauw19:29, 22 February 2010

Status & tagging log