From: daniel Date: Thu, 29 Aug 2019 18:00:27 +0000 (+0200) Subject: ContribsPage: bring back getContribs() method X-Git-Tag: 1.34.0-rc.0~473^2~1 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;ds=sidebyside;h=e6a8e5268d8b70867e58b1c827d42fec56bb315f;p=lhc%2Fweb%2Fwiklou.git ContribsPage: bring back getContribs() method Follows-up 73664393f8da2ec. Apparently the method still has callers. Hot fix (UBN). Bug: T231540 Change-Id: I09ba81fc7ac4afe4c5cc54c3a589a54e31e9c419 --- diff --git a/includes/specials/pagers/ContribsPager.php b/includes/specials/pagers/ContribsPager.php index d62951cb7e..013444317c 100644 --- a/includes/specials/pagers/ContribsPager.php +++ b/includes/specials/pagers/ContribsPager.php @@ -439,6 +439,16 @@ class ContribsPager extends RangeChronologicalPager { return $this->tagFilter; } + /** + * @deprecated since 1.34, redundant. + * + * @return string "users" + */ + public function getContribs() { + // Brought back for backwards compatibility, see T231540. + return 'users'; + } + /** * @return string */