Merge "Vector: Drop support for SkinTemplateToolboxEnd"
This commit is contained in:
commit
6d012b93b0
|
@ -280,13 +280,8 @@ class VectorTemplate extends BaseTemplate {
|
||||||
$portal = $this->getMenuData(
|
$portal = $this->getMenuData(
|
||||||
'tb', $content, self::MENU_TYPE_PORTAL
|
'tb', $content, self::MENU_TYPE_PORTAL
|
||||||
);
|
);
|
||||||
// Run deprecated hooks.
|
// Run deprecated hook.
|
||||||
$vectorTemplate = $this;
|
|
||||||
ob_start();
|
|
||||||
// Use SidebarBeforeOutput instead.
|
// Use SidebarBeforeOutput instead.
|
||||||
Hooks::run( 'SkinTemplateToolboxEnd', [ &$vectorTemplate, true ] );
|
|
||||||
$htmlhookitems = ob_get_clean();
|
|
||||||
$portal['html-items'] .= $htmlhookitems;
|
|
||||||
ob_start();
|
ob_start();
|
||||||
Hooks::run( 'VectorAfterToolbox', [], '1.35' );
|
Hooks::run( 'VectorAfterToolbox', [], '1.35' );
|
||||||
$props[] = $portal + [
|
$props[] = $portal + [
|
||||||
|
|
Loading…
Reference in New Issue