forked from GNUsocial/gnu-social
[DB][AVATAR] Remove extraneous slash
This commit is contained in:
parent
86bd1dbbbf
commit
6d1fa10965
@ -111,12 +111,12 @@ class Avatar extends Entity
|
|||||||
|
|
||||||
public static function getFilePathStatic(string $filename): string
|
public static function getFilePathStatic(string $filename): string
|
||||||
{
|
{
|
||||||
return Common::config('avatar', 'dir') . '/' . $filename;
|
return Common::config('avatar', 'dir') . $filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFilePath(): string
|
public function getFilePath(): string
|
||||||
{
|
{
|
||||||
return Common::config('avatar', 'dir') . '/' . $this->getFile()->getFileName();
|
return Common::config('avatar', 'dir') . $this->getFile()->getFileName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user