Removed unrelated change that slipped into r57769
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 15 Oct 2009 11:36:30 +0000 (11:36 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 15 Oct 2009 11:36:30 +0000 (11:36 +0000)
includes/specials/SpecialLog.php

index 700cd59..d1ccc8c 100644 (file)
@@ -60,8 +60,6 @@ function wfSpecialLog( $par = '' ) {
                        $qc = array( 'ls_field' => 'target_author_id', 'ls_value' => $offender->getId() );
                } else if( $offender && IP::isIPAddress( $offender->getName() ) ) {
                        $qc = array( 'ls_field' => 'target_author_ip', 'ls_value' => $offender->getName() );
-               } else {
-                       $qc = array( "1 = 0" ); // empty
                }
        }
        # Create a LogPager item to get the results and a LogEventsList item to format them...