Fix old log params of log type rights for new api logparam style
[lhc/web/wiklou.git] / maintenance / checkUsernames.php
index 7deca80..777c833 100644 (file)
@@ -55,13 +55,13 @@ class CheckUsernames extends Maintenance {
                        );
 
                        foreach ( $res as $row ) {
-                               if ( ! User::isValidUserName( $row->user_name ) ) {
+                               if ( !User::isValidUserName( $row->user_name ) ) {
                                        $this->error( sprintf( "%s: %6d: '%s'\n", wfWikiID(), $row->user_id, $row->user_name ) );
                                        wfDebugLog( 'checkUsernames', $row->user_name );
                                }
                        }
                        $maxUserId = $row->user_id;
-               } while( $res->numRows() );
+               } while ( $res->numRows() );
        }
 }