diff options
author | Alexander Vorwerk <zabe@avorwerk.net> | 2024-01-20 16:06:11 +0100 |
---|---|---|
committer | Alexander Vorwerk <zabe@avorwerk.net> | 2024-01-20 16:21:39 +0100 |
commit | 2a1a9951774b9e644d4e1c5fae1c53c4bf1a3ce9 (patch) | |
tree | e511ad713c40a0b7c863a99ee17dcc716786fad5 /includes/CommentStore/CommentStore.php | |
parent | 29e7bdfbbc930f99cfdb89cb680e954032a1f8dd (diff) | |
download | mediawikicore-2a1a9951774b9e644d4e1c5fae1c53c4bf1a3ce9.tar.gz mediawikicore-2a1a9951774b9e644d4e1c5fae1c53c4bf1a3ce9.zip |
CommentStore: Remove unused getFields method
not at all needed
Bug: T343558
Change-Id: Ibd49f8e0cb078376b4e19757c4ca864457a40911
Diffstat (limited to 'includes/CommentStore/CommentStore.php')
-rw-r--r-- | includes/CommentStore/CommentStore.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/includes/CommentStore/CommentStore.php b/includes/CommentStore/CommentStore.php index 8632fc091c3b..c57fbdc7f33d 100644 --- a/includes/CommentStore/CommentStore.php +++ b/includes/CommentStore/CommentStore.php @@ -78,26 +78,6 @@ class CommentStore { } /** - * Get SELECT fields for the comment key - * - * Each resulting row should be passed to `self::getCommentLegacy()` to get the - * actual comment. - * - * @note Use of this method may require a subsequent database query to - * actually fetch the comment. If possible, use `self::getJoin()` instead. - * - * @since 1.30 - * @since 1.31 Method signature changed, $key parameter added (required since 1.35) - * @param string $key A key such as "rev_comment" identifying the comment - * field being fetched. - * @return string[] to include in the `$vars` to `IDatabase->select()`. All - * fields are aliased, so `+` is safe to use. - */ - public function getFields( $key ) { - return [ "{$key}_id" => "{$key}_id" ]; - } - - /** * Get SELECT fields and joins for the comment key * * Each resulting row should be passed to `self::getComment()` to get the |