mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Remove obsolete references to lounge category (#21607)
### What is this change? The lounge category was replaced with the general category in https://github.com/discourse/discourse/pull/18097. However, there are still a few references to the lounge category in code. In particular, `Category#seeded?` is erroring out in production looking for `SiteSetting.lounge_category_id`.
This commit is contained in:
@@ -869,7 +869,7 @@ class Category < ActiveRecord::Base
|
||||
|
||||
def seeded?
|
||||
[
|
||||
SiteSetting.lounge_category_id,
|
||||
SiteSetting.general_category_id,
|
||||
SiteSetting.meta_category_id,
|
||||
SiteSetting.staff_category_id,
|
||||
SiteSetting.uncategorized_category_id,
|
||||
|
||||
Reference in New Issue
Block a user