mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
feat(sticky): make excerpt optional in sticky (#4016)
This commit is contained in:
committed by
GitHub
parent
b86a4a0fe0
commit
a0311dfb2b
@@ -31,6 +31,10 @@ return [
|
||||
|
||||
new Extend\Locales(__DIR__.'/locale'),
|
||||
|
||||
(new Extend\Settings())
|
||||
->serializeToForum('excerptDisplayEnabled', 'flarum-sticky.enable_display_excerpt', 'boolval')
|
||||
->default('flarum-sticky.enable_display_excerpt', true),
|
||||
|
||||
(new Extend\Model(Discussion::class))
|
||||
->cast('is_sticky', 'bool'),
|
||||
|
||||
|
Reference in New Issue
Block a user