diff --git a/app/Models/User.php b/app/Models/User.php index 8d6fbcf8..ed24aa81 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -123,20 +123,6 @@ class User extends Authenticatable $this->attributes['timezone'] = $value; } - /** - * Return a File model - */ - public function getAvatarAttribute() - { - if (!$this->attributes['avatar']) { - return null; - } - - return new File([ - 'path' => $this->attributes['avatar'] - ]); - } - /** * @param mixed $size Size of the gravatar, in pixels * @return string