From e6a8e5268d8b70867e58b1c827d42fec56bb315f Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 29 Aug 2019 20:00:27 +0200 Subject: [PATCH] ContribsPage: bring back getContribs() method Follows-up 73664393f8da2ec. Apparently the method still has callers. Hot fix (UBN). Bug: T231540 Change-Id: I09ba81fc7ac4afe4c5cc54c3a589a54e31e9c419 --- includes/specials/pagers/ContribsPager.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 */ -- 2.20.1