Index: trunk/extensions/Storyboard/specials/StoryReview/StoryReview_body.php |
— | — | @@ -17,12 +17,10 @@ |
18 | 18 | |
19 | 19 | public function __construct() { |
20 | 20 | parent::__construct( 'StoryReview' ); |
21 | | - |
22 | | - wfLoadExtensionMessages( 'Storyboard' ); |
23 | 21 | } |
24 | 22 | |
25 | 23 | public function execute( $language ) { |
26 | | - wfProfileIn( 'StoryReview-special-page' ); |
| 24 | + wfProfileIn( __METHOD__ ); |
27 | 25 | |
28 | 26 | global $wgUser; |
29 | 27 | if ( $wgUser->isAllowed( 'storyreview' ) && !$wgUser->isBlocked() ) { |
— | — | @@ -34,7 +32,7 @@ |
35 | 33 | $wgOut->permissionRequired( 'storyreview' ); |
36 | 34 | } |
37 | 35 | |
38 | | - wfProfileOut( 'StoryReview-special-page' ); |
| 36 | + wfProfileOut( __METHOD__ ); |
39 | 37 | } |
40 | 38 | |
41 | 39 | private function addOutput() { |