DEV: Replace lazy_load_categories site setting (#25302)

The site setting has been removed in a previous commit abad38c, but it
was merged at the same time with 4cfc0e2 which added it back.
This commit is contained in:
Bianca Nenciu 2024-01-17 21:44:48 +02:00 committed by GitHub
parent abad38c2e7
commit 6a205ea0a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class CategoryList
@categories = query.to_a @categories = query.to_a
if SiteSetting.lazy_load_categories if @guardian.can_lazy_load_categories?
categories_with_rownum = categories_with_rownum =
Category Category
.secured(@guardian) .secured(@guardian)