r98947 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98946‎ | r98947 | r98948 >
Date:23:02, 4 October 2011
Author:neilk
Status:ok
Tags:
Comment:
syntax error with else, fixed
Modified paths:
  • /branches/REL1_18/extensions/TitleBlacklist/TitleBlacklist.list.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/extensions/TitleBlacklist/TitleBlacklist.list.php
@@ -140,8 +140,9 @@
141141 public function userCannot( $title, $user, $action = 'edit', $override = true ) {
142142 if( $override && self::userCanOverride( $user, $action ) ) {
143143 return false;
144 - else
 144+ } else {
145145 return $this->isBlacklisted( $title, $action );
 146+ }
146147 }
147148
148149 /**

Status & tagging log