From b2107e62d2ac07abf1714e245d57e5ef782a3263 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 5 Mar 2024 00:51:51 +0200 Subject: [PATCH] remove comment --- files/routes/posts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a5e87ce2e..8337f84cd 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1021,7 +1021,6 @@ def edit_post(pid, v): p = get_post(pid) if not v.can_edit(p): abort(403) - # Disable edits on things older than 1wk unless it's a draft or editor is a jannie if SITE_NAME == 'rDrama': days = 7 else: days = 30 if time.time() - p.created_utc > days*24*60*60 and not p.draft and v.admin_level < PERMS["IGNORE_EDITING_LIMIT"] and v.id not in EXEMPT_FROM_EDITING_LIMIT: