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:
parent
ceeee2d3d0
commit
b473ce1ff6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue