Fixed references to common_avatar_*.
This commit is contained in:
parent
a3d5e00f64
commit
805560677b
@ -121,11 +121,11 @@ class ImageFile
|
|||||||
&& $w === $this->width
|
&& $w === $this->width
|
||||||
&& $h === $this->height) {
|
&& $h === $this->height) {
|
||||||
|
|
||||||
$outname = common_avatar_filename($this->id,
|
$outname = Avatar::filename($this->id,
|
||||||
image_type_to_extension($this->type),
|
image_type_to_extension($this->type),
|
||||||
$size,
|
$size,
|
||||||
common_timestamp());
|
common_timestamp());
|
||||||
$outpath = common_avatar_path($outname);
|
$outpath = Avatar::path($outname);
|
||||||
@copy($this->filepath, $outpath);
|
@copy($this->filepath, $outpath);
|
||||||
return $outname;
|
return $outname;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user