Fix unused vars/pointless assignments
[lhc/web/wiklou.git] / includes / api / ApiQuerySearch.php
index b90dd5d..e6403f3 100644 (file)
@@ -157,7 +157,6 @@ class ApiQuerySearch extends ApiQueryGeneratorBase {
                        convertForSearchResult( $matches->termMatches() );
                $titles = [];
                $count = 0;
-               $limit = $params['limit'];
 
                if ( $matches->hasMoreResults() ) {
                        $this->setContinueEnumParameter( 'offset', $params['offset'] + $params['limit'] );