[search] Remove more dead code
This code in SpecialSearch looks to still be around from the days where there was a feature that go would send you to directly to an edit page, rather than showing search results. That feature no longer exists, so remove the related code. Change-Id: If5b064b08a6258bfab31ab8f8b62c1d7283c8912
This commit is contained in:
parent
fecf1efb9a
commit
1525f6cd45
1 changed files with 0 additions and 5 deletions
|
|
@ -234,11 +234,6 @@ class SpecialSearch extends SpecialPage {
|
|||
|
||||
return;
|
||||
}
|
||||
# No match, generate an edit URL
|
||||
$title = Title::newFromText( $term );
|
||||
if ( !is_null( $title ) ) {
|
||||
Hooks::run( 'SpecialSearchNogomatch', [ &$title ] );
|
||||
}
|
||||
$this->showResults( $term );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue