Merge "Remove undocumented and unused searchx parameter"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 13 Feb 2014 00:33:30 +0000 (00:33 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 13 Feb 2014 00:33:30 +0000 (00:33 +0000)
1  2 
includes/specials/SpecialSearch.php

@@@ -105,7 -105,6 +105,6 @@@ class SpecialSearch extends SpecialPag
  
                if ( $request->getVal( 'fulltext' )
                        || !is_null( $request->getVal( 'offset' ) )
-                       || !is_null( $request->getVal( 'searchx' ) )
                ) {
                        $this->showResults( $search );
                } else {
         */
        public function load() {
                $request = $this->getRequest();
 -              list( $this->limit, $this->offset ) = $request->getLimitOffset( 20, '', 500 );
 +              list( $this->limit, $this->offset ) = $request->getLimitOffset( 20 );
                $this->mPrefix = $request->getVal( 'prefix', '' );
  
                $user = $this->getUser();