forked from MarseyWorld/MarseyWorld
i am a pro carp hero
parent
df7690fb54
commit
0d7437ca1c
|
@ -1121,9 +1121,8 @@ def remove_post(post_id, v):
|
||||||
post = get_post(post_id)
|
post = get_post(post_id)
|
||||||
post.is_banned = True
|
post.is_banned = True
|
||||||
post.is_approved = None
|
post.is_approved = None
|
||||||
if SITE_NAME != 'rDrama' or v.id != CARP_ID: # fish status = owned
|
post.stickied = None
|
||||||
post.stickied = None
|
post.is_pinned = False
|
||||||
post.is_pinned = False
|
|
||||||
post.ban_reason = v.username
|
post.ban_reason = v.username
|
||||||
g.db.add(post)
|
g.db.add(post)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue