@@ -505,12 +505,6 @@ func (s *Manager) HandleShareAccess(w http.ResponseWriter, r *http.Request) {
} else {
//This share not exists
- if err != nil {
- //Template not found. Just send a 404 Not Found
- http.NotFound(w, r)
- return
- }
-
if directDownload {
//Send 404 header
http.NotFound(w, r)