This commit is contained in:
Toby Zerner 2017-09-19 19:13:02 +09:30
parent 37cf95f94d
commit 377d439c47

View File

@ -332,9 +332,6 @@ class User extends AbstractModel
} }
} }
return $this->avatar_path ? $urlGenerator->toPath('assets/avatars/'.$this->avatar_path) : null;
}
/** /**
* Get the user's locale, falling back to the forum's default if they * Get the user's locale, falling back to the forum's default if they
* haven't set one. * haven't set one.