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:
Ted Johansson
2023-05-17 16:34:14 +08:00
committed by GitHub
parent a2bc24456f
commit 445196399d
2 changed files with 3 additions and 3 deletions

View File

@@ -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,