1
0
mirror of https://github.com/flarum/core.git synced 2025-07-26 03:01:22 +02:00
This commit is contained in:
Toby Zerner
2017-09-19 19:13:02 +09:30
parent 705ef7536b
commit f148013108

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.