Merge "Vector: Drop support for SkinTemplateToolboxEnd"

This commit is contained in:
jenkins-bot 2020-06-12 21:09:25 +00:00 committed by Gerrit Code Review
commit 6d012b93b0
1 changed files with 1 additions and 6 deletions

View File

@ -280,13 +280,8 @@ class VectorTemplate extends BaseTemplate {
$portal = $this->getMenuData(
'tb', $content, 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 + [