partial fix for #1363 (notice cannot be closed)

This commit is contained in:
Toks
2013-04-22 19:42:39 -04:00
parent c6b1e5885c
commit 94984fb85a
4 changed files with 12 additions and 1 deletions

View File

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