From: Platonides Date: Wed, 3 Mar 2010 22:15:40 +0000 (+0000) Subject: Remove unused VectorTemplateToolboxEnd hook. X-Git-Tag: 1.31.0-rc.0~37556 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=c3964fe4d517c8aef4c30a461e90d90d664a3aed;p=lhc%2Fweb%2Fwiklou.git Remove unused VectorTemplateToolboxEnd hook. Per-skin hooks are evil. Extensions should use SkinTemplateToolboxEnd. --- diff --git a/docs/hooks.txt b/docs/hooks.txt index e31d9095ab..835bbf94dc 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1765,13 +1765,6 @@ authentification timestamp new toggles $toggles: array of toggles to add -'VectorTemplateToolboxEnd': Called by Vector skin after toolbox links have -been rendered (useful for adding more) -Note: this is only run for the Vector skin. To add items to the toolbox -for all 'SkinTemplate'-type skins, use the SkinTemplateToolboxEnd hook -instead. -$tools: array of tools - 'WantedPages::getSQL': called in WantedPagesPage::getSQL(), can be used to alter the SQL query which gets the list of wanted pages &$wantedPages: WantedPagesPage object diff --git a/skins/Vector.php b/skins/Vector.php index 616b78482b..cd233a946d 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -611,7 +611,6 @@ class VectorTemplate extends QuickTemplate { data['nav_urls']['permalink']['href'] === '' ): ?> -