Finish refine the config things.

This commit is contained in:
zicla
2019-04-28 01:51:08 +08:00
parent 8aa0d11cbb
commit a4f28cca30
8 changed files with 44 additions and 44 deletions

View File

@ -366,7 +366,7 @@ func (this *MatterDao) Cleanup() {
db := core.CONTEXT.GetDB().Where("uuid is not null").Delete(Matter{})
this.PanicError(db.Error)
err := os.RemoveAll(core.CONFIG.GetMatterPath())
err := os.RemoveAll(core.CONFIG.MatterPath())
this.PanicError(err)
}