diff --git a/includes/SkinVector.php b/includes/SkinVector.php index adcdd2edd..5980362a7 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -221,17 +221,7 @@ class SkinVector extends SkinMustache { } } - ob_start(); - Hooks::run( 'VectorBeforeFooter', [], '1.35' ); - $htmlHookVectorBeforeFooter = ob_get_contents(); - ob_end_clean(); - - $data = [ - 'html-hook-vector-before-footer' => $htmlHookVectorBeforeFooter, - 'array-footer-rows' => $footerRows, - ]; - - return $data; + return [ 'array-footer-rows' => $footerRows ]; } /** diff --git a/includes/templates/Footer.mustache b/includes/templates/Footer.mustache index 860198c66..699c6241e 100644 --- a/includes/templates/Footer.mustache +++ b/includes/templates/Footer.mustache @@ -9,11 +9,9 @@ @prop string id of list element @prop footerItem[] array-items - string html-hook-vector-before-footer output of VectorBeforeFooter hook string|null html-user-language-attributes a string of attribute HTML footerRow[] array-footer-rows iterable list of footer rows }} -{{{html-hook-vector-before-footer}}} {{! `role` is unnecessary but kept to support selectors in any gadgets or user styles and to mitigate a VoiceOver bug. }}