mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 12:05:01 +00:00
a3bf2f1cf1
* Automatically resolve report when post/comment is removed (#3850) * Automatically resolve report when post/comment is removed * also handle apub removes * Removing auto-resolve report triggers. * Dont allow creating reports for deleted / removed items. * Running pgformat. * Fixing test. * Addressing PR comments. * Forgot comment report. --------- Co-authored-by: Nutomic <me@nutomic.com>
8 lines
265 B
SQL
8 lines
265 B
SQL
DROP TRIGGER IF EXISTS post_removed_resolve_reports ON mod_remove_post;
|
|
|
|
DROP FUNCTION IF EXISTS post_removed_resolve_reports;
|
|
|
|
DROP TRIGGER IF EXISTS comment_removed_resolve_reports ON mod_remove_comment;
|
|
|
|
DROP FUNCTION IF EXISTS comment_removed_resolve_reports;
|
|
|