rename references of privileged to gold

This commit is contained in:
r888888888
2013-04-28 00:04:52 -07:00
parent 6a00c6330f
commit d5f575159f
112 changed files with 165 additions and 165 deletions

View File

@@ -197,7 +197,7 @@ class AnonymousUser
""
end
%w(member banned privileged builder platinum contributor janitor moderator admin).each do |name|
%w(member banned gold builder platinum contributor janitor moderator admin).each do |name|
define_method("is_#{name}?") do
false
end

View File

@@ -30,7 +30,7 @@ module PostSets
end
def has_deleted?
CurrentUser.is_privileged? && tag_string !~ /status/ && ::Post.tag_match("#{tag_string} status:deleted").exists?
CurrentUser.is_gold? && tag_string !~ /status/ && ::Post.tag_match("#{tag_string} status:deleted").exists?
end
def has_explicit?

View File

@@ -1,4 +1,4 @@
module PostSets
class SearchError < Exception
end
end
end