From c316894167d4dbfaa44f5af5455d8e41ef65b5d5 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 20 Aug 2014 12:42:33 -0400 Subject: [PATCH] TWEAK: Don't include moderators on "About" if they are admins. --- app/models/about.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/about.rb b/app/models/about.rb index 73978b7bb0b..ceaff5ea968 100644 --- a/app/models/about.rb +++ b/app/models/about.rb @@ -21,7 +21,7 @@ class About end def moderators - @moderators ||= User.where(moderator: true) + @moderators ||= User.where(moderator: true, admin: false) .where.not(id: Discourse::SYSTEM_USER_ID) end