Pārlūkot izejas kodu

Removed file upload log

Toby Chui 2 nedēļas atpakaļ
vecāks
revīzija
a9800ec0b1
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/file_system.go

+ 2 - 2
src/file_system.go

@@ -917,7 +917,7 @@ func system_fs_handleLowMemoryUpload(w http.ResponseWriter, r *http.Request) {
 	}
 
 	//Log the upload filename
-	systemWideLogger.PrintAndLog("File System", userinfo.Username+" uploaded a file: "+filepath.Base(decodedUploadLocation), nil)
+	//systemWideLogger.PrintAndLog("File System", userinfo.Username+" uploaded a file: "+filepath.Base(decodedUploadLocation), nil)
 
 	//Set owner of the new uploaded file
 	userinfo.SetOwnerOfFile(fsh, unescapedPath)
@@ -1076,7 +1076,7 @@ func system_fs_handleUpload(w http.ResponseWriter, r *http.Request) {
 	*/
 
 	//Fnish upload. Fix the tmp filename
-	systemWideLogger.PrintAndLog("File System", userinfo.Username+" uploaded a file: "+handler.Filename, nil)
+	//systemWideLogger.PrintAndLog("File System", userinfo.Username+" uploaded a file: "+handler.Filename, nil)
 
 	//Do upload finishing stuff