mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Delete unused CommentTree.add_comment
This commit is contained in:
@@ -240,9 +240,6 @@ class CommentTree:
|
||||
impl = self.IMPLEMENTATIONS[self.link.comment_tree_version]
|
||||
impl.add_comments(self, comments)
|
||||
|
||||
def add_comment(self, comment):
|
||||
return self.add_comments([comment])
|
||||
|
||||
def delete_comment(self, comment, link):
|
||||
impl = self.IMPLEMENTATIONS[link.comment_tree_version]
|
||||
impl.delete_comment(self, comment)
|
||||
|
||||
Reference in New Issue
Block a user