forked from MarseyWorld/MarseyWorld
fix modactions
parent
684a8243c4
commit
86125a08f1
|
@ -127,6 +127,7 @@ def remove_report_post(v, pid, uid):
|
|||
|
||||
g.db.delete(report)
|
||||
|
||||
if v.id != report.user_id:
|
||||
ma=ModAction(
|
||||
kind="delete_report",
|
||||
user_id=v.id,
|
||||
|
@ -152,6 +153,7 @@ def remove_report_comment(v, cid, uid):
|
|||
|
||||
g.db.delete(report)
|
||||
|
||||
if v.id != report.user_id:
|
||||
ma=ModAction(
|
||||
kind="delete_report",
|
||||
user_id=v.id,
|
||||
|
|
Loading…
Reference in New Issue