This commit is contained in:
Liang Ding 2023-02-17 22:36:39 +08:00
parent ae47483332
commit e1375fd4f5
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 11 additions and 9 deletions

View file

@ -570,10 +570,9 @@ func ReindexHistory() (err error) {
return
}
util.PushMsg(Conf.Language(35), 7*1000)
util.PushMsg(Conf.Language(192), 7*1000)
sql.InitHistoryDatabase(true)
lutEngine := util.NewLute()
for _, historyDir := range historyDirs {
if !historyDir.IsDir() {
continue
@ -582,8 +581,6 @@ func ReindexHistory() (err error) {
name := historyDir.Name()
indexHistoryDir(name, lutEngine)
}
util.ReloadUI()
return
}