diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2023-04-22 20:16:00 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2023-04-22 21:25:35 +0200 |
commit | 2e020a25f08c20370c73fb5a2c0f7adf66e6ce4b (patch) | |
tree | d3cc93fae875ce6c3bfc0d4a835965dc10215452 /includes/CommentStore/CommentStore.php | |
parent | 7b12ff8473e49597e7ba9969ab6def7ac15f9f55 (diff) | |
download | mediawikicore-2e020a25f08c20370c73fb5a2c0f7adf66e6ce4b.tar.gz mediawikicore-2e020a25f08c20370c73fb5a2c0f7adf66e6ce4b.zip |
Remove deprecated CommentStore::getStore
Bug: T325475
Change-Id: I0ff5e286cd15f45515e75fa85db529758e8f5ed9
Diffstat (limited to 'includes/CommentStore/CommentStore.php')
-rw-r--r-- | includes/CommentStore/CommentStore.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/includes/CommentStore/CommentStore.php b/includes/CommentStore/CommentStore.php index 542df23c8423..de4b997f427a 100644 --- a/includes/CommentStore/CommentStore.php +++ b/includes/CommentStore/CommentStore.php @@ -21,7 +21,6 @@ namespace MediaWiki\CommentStore; use Language; -use MediaWiki\MediaWikiServices; /** * @defgroup CommentStore CommentStore @@ -78,16 +77,6 @@ class CommentStore extends CommentStoreBase { $this->tempTables[$key]['stage'] = $stageOverride; } } - - /** - * @since 1.31 - * @deprecated in 1.31 Use DI to inject a CommentStore instance into your class. Hard-deprecated since 1.40. - * @return CommentStore - */ - public static function getStore() { - wfDeprecated( __METHOD__, '1.31' ); - return MediaWikiServices::getInstance()->getCommentStore(); - } } class_alias( CommentStore::class, 'CommentStore' ); |