hide related deleted post link for non-priv
This commit is contained in:
@@ -30,7 +30,7 @@ module PostSets
|
|||||||
end
|
end
|
||||||
|
|
||||||
def has_deleted?
|
def has_deleted?
|
||||||
tag_string !~ /status/ && ::Post.tag_match("#{tag_string} status:deleted").exists?
|
CurrentUser.is_privileged? && tag_string !~ /status/ && ::Post.tag_match("#{tag_string} status:deleted").exists?
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_explicit?
|
def has_explicit?
|
||||||
|
|||||||
Reference in New Issue
Block a user