r45653 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45652‎ | r45653 | r45654 >
Date:22:07, 10 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Just use != here
Modified paths:
  • /trunk/phase3/includes/RecentChange.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RecentChange.php
@@ -471,7 +471,7 @@
472472 {
473473 global $wgLogRestrictions;
474474 # Don't add private logs to RC!
475 - if( isset($wgLogRestrictions[$type]) && !$wgLogRestrictions[$type] == '*' ) {
 475+ if( isset($wgLogRestrictions[$type]) && $wgLogRestrictions[$type] != '*' ) {
476476 return false;
477477 }
478478 $rc = self::newLogEntry( $timestamp, $title, $user, $actionComment, $ip, $type, $action,

Status & tagging log