Using master pg library
This commit is contained in:
parent
d9a95a997c
commit
e0854aa001
8 changed files with 43 additions and 76 deletions
|
@ -84,13 +84,6 @@ func downloadHandler(h handler) {
|
|||
return
|
||||
}
|
||||
|
||||
if !book.Active {
|
||||
if !h.sess.IsModerator() {
|
||||
notFound(h)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
f, err := h.store.Get(book.ID, epubFile)
|
||||
if err != nil {
|
||||
notFound(h)
|
||||
|
|
Reference in a new issue