Index: trunk/extensions/Storyboard/specials/StoryReview_body.php |
— | — | @@ -22,10 +22,9 @@ |
23 | 23 | |
24 | 24 | public function execute( $language ) { |
25 | 25 | global $wgUser; |
26 | | - if ($wgUser->isAllowed('storyreview') && !$wgUser->isBlocked()) { |
| 26 | + if ( $wgUser->isAllowed( 'storyreview' ) && !$wgUser->isBlocked() ) { |
27 | 27 | $this->addOutput(); |
28 | | - } |
29 | | - else { |
| 28 | + } else { |
30 | 29 | global $wgOut; |
31 | 30 | $wgOut->permissionRequired( 'storyreview' ); |
32 | 31 | } |
— | — | @@ -33,6 +32,6 @@ |
34 | 33 | |
35 | 34 | private function addOutput() { |
36 | 35 | global $wgOut; |
37 | | - $wgOut->includeJQuery(); |
| 36 | + $wgOut->includeJQuery(); |
38 | 37 | } |
39 | 38 | } |