1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-24 08:46:24 -07:00

Remove the no-longer-used PostsPerThreadPage setting

This commit is contained in:
Eggbertx 2023-01-09 09:05:18 -08:00
parent 90065cf8fa
commit 3d430e7d83
4 changed files with 0 additions and 6 deletions

View file

@ -42,7 +42,6 @@ var (
"ReplyDelay": 7,
"MaxLineLength": 150,
"ThreadsPerPage": 15,
"PostsPerThreadPage": 50,
"RepliesOnBoardPage": 3,
"StickyRepliesOnBoardPage": 1,
"BanMessage": "USER WAS BANNED FOR THIS POST",
@ -339,7 +338,6 @@ type BoardConfig struct {
DateTimeFormat string `description:"The format used for dates. See <a href=\"https://golang.org/pkg/time/#Time.Format\">here</a> for more info."`
AkismetAPIKey string `description:"The API key to be sent to Akismet for post spam checking. If the key is invalid, Akismet won't be used."`
MaxBoardPages int
ShowPosterID bool
EnableSpoileredImages bool
EnableSpoileredThreads bool
@ -376,7 +374,6 @@ type PostConfig struct {
ReservedTrips []string `description:"Secure tripcodes (!!Something) can be reserved here.<br />Each reservation should go on its own line and should look like this:<br />TripPassword1##Tripcode1<br />TripPassword2##Tripcode2"`
ThreadsPerPage int
PostsPerThreadPage int
RepliesOnBoardPage int `description:"Number of replies to a thread to show on the board page."`
StickyRepliesOnBoardPage int `description:"Same as above for stickied threads."`
NewThreadsRequireUpload bool

View file

@ -84,7 +84,6 @@ const (
"ThumbHeightCatalog": 50,
"ThreadsPerPage": 15,
"PostsPerThreadPage": 50,
"RepliesOnBoardPage": 3,
"StickyRepliesOnBoardPage": 1,
"BanMessage": "USER WAS BANNED FOR THIS POST",

View file

@ -217,7 +217,6 @@ func InitConfig(versionStr string) {
},
PostConfig: PostConfig{
ThreadsPerPage: 15,
PostsPerThreadPage: 50,
RepliesOnBoardPage: 3,
StickyRepliesOnBoardPage: 1,
BanColors: []string{

View file

@ -62,7 +62,6 @@
"ThumbHeightCatalog": 50,
"ThreadsPerPage": 15,
"PostsPerThreadPage": 50,
"RepliesOnBoardPage": 3,
"StickyRepliesOnBoardPage": 1,
"BanColors": [