mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 06:54:16 +08:00
😅
This commit is contained in:
parent
37cf95f94d
commit
377d439c47
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user