Using master pg library

This commit is contained in:
Las Zenow 2017-05-18 22:16:16 +00:00
parent d9a95a997c
commit e0854aa001
8 changed files with 43 additions and 76 deletions

View file

@ -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)