diff --git a/files/classes/user.py b/files/classes/user.py index d545ebc91..9a5ee9d5a 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -73,7 +73,6 @@ class User(Base): titlecolor = Column(String, default=DEFAULT_COLOR) theme = Column(String, default=DEFAULT_THEME) themecolor = Column(String, default=DEFAULT_COLOR) - cardview = Column(Boolean, default=False) song = Column(String) highres = Column(String) profileurl = Column(String) diff --git a/files/routes/settings.py b/files/routes/settings.py index e064b0521..67cb1bd57 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -179,7 +179,6 @@ def settings_personal_post(v): return profanity_filter_updated updated = updated or update_flag("hidevotedon", "hidevotedon") - updated = updated or update_flag("cardview", "cardview") updated = updated or update_flag("newtab", "newtab") updated = updated or update_flag("newtabexternal", "newtabexternal") updated = updated or update_flag("nitter", "nitter") diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index d10e922de..27d4675d1 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -222,24 +222,18 @@ {% endif %} - {% if p.is_image and not p.over_18 and ((v and v.cardview)) %} -