Fix typo in r45855
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 18 Jan 2009 19:23:20 +0000 (19:23 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 18 Jan 2009 19:23:20 +0000 (19:23 +0000)
includes/User.php

index f87323f..3460215 100644 (file)
@@ -2094,7 +2094,7 @@ class User {
                if( $action === 'patrol' || $action === 'autopatrol' ) {
                        global $wgUseRCPatrol, $wgUseNPPatrol;
                        if( !$wgUseRCPatrol && !$wgUseNPPatrol )
-                               return true;
+                               return false;
                }
                # Use strict parameter to avoid matching numeric 0 accidentally inserted 
                # by misconfiguration: 0 == 'foo'