1
0
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:
Franz Liedke
2015-03-26 20:59:06 +01:00
parent ab9cf922db
commit cf8e02977f
3 changed files with 10 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class UploadAvatarCommandHandler
'target' => $this->uploadDir,
]);
$user->changeAvatarUrl($uploadName);
$user->changeAvatarPath($uploadName);
event(new AvatarWillBeUploaded($user, $command));