more cleanup
This commit is contained in:
parent
16671b3406
commit
78680de687
6 changed files with 200491 additions and 189802 deletions
|
|
@ -52,9 +52,6 @@ func New(dir string) (db *DB, err error) {
|
|||
}
|
||||
|
||||
_, err = db.CreatePage(core.IndexPage, core.WikiSection, welcome, defUser, core.Public)
|
||||
if err != nil && err != store.ErrKeyNotFound {
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue