awards: remove grass

This commit is contained in:
justcool393 2022-11-19 09:27:42 -06:00 committed by Ben Rog-Wilhelm
parent 377d51c2f8
commit 65fada8155
4 changed files with 1 additions and 51 deletions

View file

@ -156,10 +156,6 @@ def downvoters_comments(v, username, uid):
return render_template("voted_comments.html", next_exists=next_exists, listing=listing, page=page, v=v, standalone=True)
@app.get("/@<username>/upvoting/<uid>/posts")
@admin_level_required(3)
def upvoting_posts(v, username, uid):
@ -243,18 +239,6 @@ def downvoting_comments(v, username, uid):
return render_template("voted_comments.html", next_exists=next_exists, listing=listing, page=page, v=v, standalone=True)
@app.get("/grassed")
@auth_required
def grassed(v):
users = g.db.query(User).filter(User.ban_reason.like('grass award used by @%')).all()
return render_template("grassed.html", v=v, users=users)
@app.get("/@<username>/upvoters")
@admin_level_required(3)
def upvoters(v, username):