From 06936766844c9d0d4f1f9f92efb622ba765c8c64 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 29 Sep 2018 23:25:04 +0300 Subject: removed empty error check --- service/http/request.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'service/http/request.go') diff --git a/service/http/request.go b/service/http/request.go index d733b20c..eb5c05bd 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -109,12 +109,12 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) { } // Open moves all uploaded files to temporary directory so it can be given to php later. -func (r *Request) Open() error { +func (r *Request) Open() { if r.Uploads == nil { - return nil + return } - return r.Uploads.Open() + r.Uploads.Open() } // Close clears all temp file uploads -- cgit v1.2.3