From a757c839b14ad4e41f4bccf88a2c14291b5ecf46 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Thu, 23 May 2019 22:12:26 +0100 Subject: libs: Remove unused deprecated BufferingStatsdDataFactory::getBuffer() Usage ===== https://codesearch.wmflabs.org/search/?q=%5CbgetBuffer%5Cb&i=nope&files=&repos= Bug: T220656 Change-Id: I3d9637e1802e0d34698940f400c628f29f0aab3b --- includes/libs/stats/BufferingStatsdDataFactory.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'includes/libs/stats') diff --git a/includes/libs/stats/BufferingStatsdDataFactory.php b/includes/libs/stats/BufferingStatsdDataFactory.php index 5ef01350d820..679b1c3337f8 100644 --- a/includes/libs/stats/BufferingStatsdDataFactory.php +++ b/includes/libs/stats/BufferingStatsdDataFactory.php @@ -91,15 +91,6 @@ class BufferingStatsdDataFactory extends StatsdDataFactory implements IBuffering return $entity; } - /** - * @deprecated since 1.30 Use getData() instead - * @return StatsdData[] - */ - public function getBuffer() { - wfDeprecated( __METHOD__, '1.30' ); - return $this->buffer; - } - public function hasData() { return !empty( $this->buffer ); } -- cgit v1.2.3