mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: Add "Reset Bump Date" action to topic admin wrench (#6246)
This commit is contained in:
@ -146,4 +146,8 @@ module TopicGuardian
|
||||
return false unless SiteSetting.topic_featured_link_enabled
|
||||
Category.where(id: category_id || SiteSetting.uncategorized_category_id, topic_featured_link_allowed: true).exists?
|
||||
end
|
||||
|
||||
def can_update_bumped_at?
|
||||
is_staff?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user