Add new StorageHelper and use it where it makes sense (#9276)

This commit is contained in:
Brady Wetherington
2021-03-15 12:26:39 -07:00
committed by GitHub
parent 3fc24b4e61
commit c7626f8387
5 changed files with 33 additions and 7 deletions
@@ -117,7 +117,7 @@ class UserFilesController extends Controller
$log = Actionlog::find($fileId);
$file = $log->get_src('users');
return Response::download($file);
return Response::download($file); //FIXME this doesn't use the new StorageHelper yet, but it's complicated...
}
// Prepare the error message
$error = trans('admin/users/message.user_not_found', ['id' => $userId]);