EmailNotification: Hard deprecate updateWatchlistTimestamp()
authorJames D. Forrester <jforrester@wikimedia.org>
Wed, 31 Jan 2018 22:33:18 +0000 (14:33 -0800)
committerLegoktm <legoktm@member.fsf.org>
Sat, 3 Feb 2018 03:48:33 +0000 (03:48 +0000)
Soft-deprecated in 1.27.

Depends-On: Ie7073f2048ba2b79a8b36ad913453008ec3555ce
Change-Id: If1dd2f8211c808ab0e284d7a3fb0b24610a0b32d

includes/mail/EmailNotification.php

index 2931d9d..67b7142 100644 (file)
@@ -90,7 +90,7 @@ class EmailNotification {
                LinkTarget $linkTarget,
                $timestamp
        ) {
-               // wfDeprecated( __METHOD__, '1.27' );
+               wfDeprecated( __METHOD__, '1.27' );
                $config = RequestContext::getMain()->getConfig();
                if ( !$config->get( 'EnotifWatchlist' ) && !$config->get( 'ShowUpdatedMarker' ) ) {
                        return [];