mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Vector: Drop support for SkinTemplateToolboxEnd
No longer called by any deployed code. Bug: T253783 Change-Id: I01b03983cb7109c61c2739bd26fd5662105e390e
This commit is contained in:
parent
22a8b6c5d5
commit
aa1f661276
|
@ -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 + [
|
||||
|
|
Loading…
Reference in a new issue