Remove admin check from admin distinguished items.

This commit is contained in:
Max Goodman
2011-06-09 13:59:19 -07:00
committed by Neil Williams
parent 4758ac8d2e
commit c5d59cd6a6

View File

@@ -146,8 +146,7 @@ class Builder(object):
except AttributeError:
pass
if (w.distinguished == 'admin' and
w.author and w.author.name in g.admins):
if (w.distinguished == 'admin' and w.author):
add_attr(w.attribs, 'A')
if w.distinguished == 'moderator':