Remove unnecessary $portals['SEARCH'] = true;

Search is skipped in the sidebar 20 lines down regardless. This does
nothing.

Change-Id: If6d3dd21280211fa3511ce010a3f3fda6185a7ef
This commit is contained in:
Isarra 2018-03-17 18:44:44 +00:00
parent ceeee2d3d0
commit b473ce1ff6
1 changed files with 0 additions and 3 deletions

View File

@ -223,9 +223,6 @@ class VectorTemplate extends BaseTemplate {
*/
protected function renderPortals( array $portals ) {
// Force the rendering of the following portals
if ( !isset( $portals['SEARCH'] ) ) {
$portals['SEARCH'] = true;
}
if ( !isset( $portals['TOOLBOX'] ) ) {
$portals['TOOLBOX'] = true;
}