mirror of
https://github.com/flarum/core.git
synced 2025-10-27 21:46:17 +01:00
- FilesystemInterface no longer needed in User related handlers
- FilesystemInterface conditional ioc binding moved to AvatarUploader - User::getAvatarAtribute failed to use the UrlGenerator properly
This commit is contained in:
@@ -98,7 +98,7 @@ class UploadAvatarHandler
|
||||
$image = (new ImageManager)->make($tmpFile);
|
||||
|
||||
$this->events->fire(
|
||||
new AvatarSaving($user, $actor, $tmpFile)
|
||||
new AvatarSaving($user, $actor, $image)
|
||||
);
|
||||
|
||||
$this->uploader->upload($user, $image);
|
||||
|
||||
Reference in New Issue
Block a user