From 2e26383086ee0456ee0878e0b3c5cca4d7a793ee Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 12 Mar 2015 09:51:59 -0700 Subject: [PATCH] Mark DoEditSectionLink hook as deprecated Change-Id: I347fe68900c98080bf3070a1b0bf5a005048868a --- includes/skins/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 530338a1aa..1549bbdedb 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -1618,8 +1618,8 @@ abstract class Skin extends ContextSource { ); $result .= ']'; - - Hooks::run( 'DoEditSectionLink', array( $this, $nt, $section, $tooltip, &$result, $lang ) ); + // Deprecated, use SkinEditSectionLinks hook instead + Hooks::run( 'DoEditSectionLink', array( $this, $nt, $section, $tooltip, &$result, $lang ), '1.25' ); return $result; } -- 2.20.1