* All users can now view deleted posts.
* Posts now have an is_banned flag for artist removal requests. Basic users can not view banned posts but gold and higher can. * Banning an artist both deletes the post and bans it. * By default deleted posts are not filtered out of post searches at the sql level.
This commit is contained in:
@@ -173,7 +173,7 @@ class Artist < ActiveRecord::Base
|
||||
rescue PostFlag::Error
|
||||
# swallow
|
||||
end
|
||||
post.delete!
|
||||
post.delete!(:ban => true)
|
||||
end
|
||||
rescue Post::SearchError
|
||||
# swallow
|
||||
|
||||
Reference in New Issue
Block a user