mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
removed t and f 's from group model
removed t and f 's from user model as mentioned in #919 removed t's and f's from category model
This commit is contained in:
@ -60,7 +60,7 @@ class User < ActiveRecord::Base
|
||||
|
||||
scope :admins, ->{ where(admin: true) }
|
||||
scope :moderators, ->{ where(moderator: true) }
|
||||
scope :staff, ->{ where("moderator = 't' or admin = 't'") }
|
||||
scope :staff, ->{ where("moderator or admin ") }
|
||||
|
||||
module NewTopicDuration
|
||||
ALWAYS = -1
|
||||
|
Reference in New Issue
Block a user