mirror of
https://github.com/flarum/core.git
synced 2025-10-18 10:16:09 +02:00
Change name of avatar field in users table.
This commit is contained in:
@@ -46,7 +46,7 @@ class UploadAvatarCommandHandler
|
||||
'target' => $this->uploadDir,
|
||||
]);
|
||||
|
||||
$user->changeAvatarUrl($uploadName);
|
||||
$user->changeAvatarPath($uploadName);
|
||||
|
||||
event(new AvatarWillBeUploaded($user, $command));
|
||||
|
||||
|
Reference in New Issue
Block a user