[DB][AVATAR] Remove extraneous slash

This commit is contained in:
Hugo Sales 2020-08-14 22:39:16 +00:00 committed by Hugo Sales
parent 44d4aade95
commit 2e9c340684
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 2 additions and 2 deletions

View File

@ -111,12 +111,12 @@ class Avatar extends Entity
public static function getFilePathStatic(string $filename): string
{
return Common::config('avatar', 'dir') . '/' . $filename;
return Common::config('avatar', 'dir') . $filename;
}
public function getFilePath(): string
{
return Common::config('avatar', 'dir') . '/' . $this->getFile()->getFileName();
return Common::config('avatar', 'dir') . $this->getFile()->getFileName();
}
/**