From 8831b494c1c2d50ec5e030a7fb40ed396bea8089 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Mon, 17 May 2021 21:50:12 +0200 Subject: Use @deprecated annotation on hook interfaces, not functions Use only one place to document the deprecation of hook interfaces/functions Bug: T282903 Change-Id: Ie7d2d7a50afe2897e5c2369f473a33ecaa821637 --- includes/content/Hook/SecondaryDataUpdatesHook.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'includes/content/Hook') diff --git a/includes/content/Hook/SecondaryDataUpdatesHook.php b/includes/content/Hook/SecondaryDataUpdatesHook.php index a150a89d6691..f81ac53e7543 100644 --- a/includes/content/Hook/SecondaryDataUpdatesHook.php +++ b/includes/content/Hook/SecondaryDataUpdatesHook.php @@ -19,9 +19,6 @@ interface SecondaryDataUpdatesHook { /** * Use this hook to modify the list of DataUpdates to perform when page content is modified. * - * @deprecated since 1.32 Use RevisionDataUpdates or override - * ContentHandler::getSecondaryDataUpdates instead. - * * @param Title $title Title of the page that is being edited * @param Content $oldContent Page content before the edit * @param bool $recursive Whether DataUpdates should trigger recursive updates -- cgit v1.2.3