Vector: Drop support for SkinTemplateToolboxEnd

No longer called by any deployed code.

Bug: T253783
Change-Id: I01b03983cb7109c61c2739bd26fd5662105e390e
This commit is contained in:
Ammar Abdulhamid 2020-06-12 20:59:20 +01:00
parent 22a8b6c5d5
commit aa1f661276

View file

@ -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 + [