Merge "changes: Usage of 'noudp' & 'pleasedontudp' no longer exist"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 22 Jul 2019 14:49:03 +0000 (14:49 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 22 Jul 2019 14:49:03 +0000 (14:49 +0000)
includes/changes/RecentChange.php
maintenance/dictionary/mediawiki.dic

index eed159d..95c9fa6 100644 (file)
@@ -369,13 +369,6 @@ class RecentChange implements Taggable {
        public function save( $send = self::SEND_FEED ) {
                global $wgPutIPinRC, $wgUseEnotif, $wgShowUpdatedMarker;
 
-               if ( is_string( $send ) ) {
-                       // Callers used to pass undocumented strings like 'noudp'
-                       // or 'pleasedontudp' instead of self::SEND_NONE (true).
-                       // @deprecated since 1.31 Use SEND_NONE instead.
-                       $send = self::SEND_NONE;
-               }
-
                $dbw = wfGetDB( DB_MASTER );
                if ( !is_array( $this->mExtra ) ) {
                        $this->mExtra = [];
index aa9cb2e..71a15bc 100644 (file)
@@ -2843,7 +2843,6 @@ notvisiblerev
 notwatched
 notwikitext
 notype
-noudp
 noupdates
 nouploadmodule
 nouser