r62529 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62528‎ | r62529 | r62530 >
Date:17:29, 15 February 2010
Author:catrope
Status:ok
Tags:
Comment:
Storyboard: Whitespace fixes for r62525
Modified paths:
  • /trunk/extensions/Storyboard/specials/StoryReview_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Storyboard/specials/StoryReview_body.php
@@ -22,10 +22,9 @@
2323
2424 public function execute( $language ) {
2525 global $wgUser;
26 - if ($wgUser->isAllowed('storyreview') && !$wgUser->isBlocked()) {
 26+ if ( $wgUser->isAllowed( 'storyreview' ) && !$wgUser->isBlocked() ) {
2727 $this->addOutput();
28 - }
29 - else {
 28+ } else {
3029 global $wgOut;
3130 $wgOut->permissionRequired( 'storyreview' );
3231 }
@@ -33,6 +32,6 @@
3433
3534 private function addOutput() {
3635 global $wgOut;
37 - $wgOut->includeJQuery();
 36+ $wgOut->includeJQuery();
3837 }
3938 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62525Changes name of permission and added permission check on storyreview special ...jeroendedauw16:42, 15 February 2010

Status & tagging log