parent
12b0d822af
commit
0ffc2e6228
|
@ -692,9 +692,6 @@ def delete_post_pid(pid, v):
|
||||||
p = get_post(pid)
|
p = get_post(pid)
|
||||||
if p.author_id != v.id: abort(403)
|
if p.author_id != v.id: abort(403)
|
||||||
|
|
||||||
# Temporary special logic by Carp request for events of 2022-10-10
|
|
||||||
if SITE_NAME == 'rDrama' and p.author_id == 3161: abort(403)
|
|
||||||
|
|
||||||
if not p.deleted_utc:
|
if not p.deleted_utc:
|
||||||
p.deleted_utc = int(time.time())
|
p.deleted_utc = int(time.time())
|
||||||
p.is_pinned = False
|
p.is_pinned = False
|
||||||
|
|
Loading…
Reference in New Issue