Remove coins from popovers, disable coin routes.
The last places coins were visible to non-admins were in user popovers and, potentially, via direct access of /@<username>/coins. These have been removed. Additionally, there are a number of routes which, despite being removed from the UI, were still operative and usable. These are disabled pending possible(?) future uses of coins.
This commit is contained in:
parent
dbaf0a1bfd
commit
3e8904757a
6 changed files with 16 additions and 17 deletions
|
@ -550,7 +550,6 @@ class User(Base):
|
|||
'profile_url': self.profile_url,
|
||||
'bannerurl': self.banner_url,
|
||||
'bio_html': self.bio_html_eager,
|
||||
'coins': self.coins,
|
||||
'post_count': 0 if self.shadowbanned and not (v and (v.shadowbanned or v.admin_level > 2)) else self.post_count,
|
||||
'comment_count': 0 if self.shadowbanned and not (v and (v.shadowbanned or v.admin_level > 2)) else self.comment_count,
|
||||
'badges': [x.path for x in self.badges],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue