added basic traffic meter for upload/download

This commit is contained in:
Peter Papp
2020-11-23 18:29:23 +01:00
parent fefc10afb8
commit cb417ea76d
7 changed files with 106 additions and 359 deletions

View File

@@ -308,6 +308,9 @@ class Editor
'user_id' => $user_id,
];
// Store user upload size
$request->user()->record_upload($file_size);
// Return new file
return FileManagerFile::create($options);
}