From aa1f6612763cdab6316b972f694afd0bddde0f3a Mon Sep 17 00:00:00 2001 From: Ammar Abdulhamid Date: Fri, 12 Jun 2020 20:59:20 +0100 Subject: [PATCH] Vector: Drop support for SkinTemplateToolboxEnd No longer called by any deployed code. Bug: T253783 Change-Id: I01b03983cb7109c61c2739bd26fd5662105e390e --- includes/VectorTemplate.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/VectorTemplate.php b/includes/VectorTemplate.php index 4686a5d88..861de5259 100644 --- a/includes/VectorTemplate.php +++ b/includes/VectorTemplate.php @@ -281,13 +281,8 @@ class VectorTemplate extends BaseTemplate { $portal = $this->getMenuData( 'tb', $toolbox, self::MENU_TYPE_PORTAL ); - // Run deprecated hooks. - $vectorTemplate = $this; - ob_start(); + // Run deprecated hook. // Use SidebarBeforeOutput instead. - Hooks::run( 'SkinTemplateToolboxEnd', [ &$vectorTemplate, true ] ); - $htmlhookitems = ob_get_clean(); - $portal['html-items'] .= $htmlhookitems; ob_start(); Hooks::run( 'VectorAfterToolbox', [], '1.35' ); $props[] = $portal + [