diff options
author | Sean Murphy <sgmurphy@gmail.com> | 2009-02-07 11:10:46 -0500 |
---|---|---|
committer | Sean Murphy <sgmurphy@gmail.com> | 2009-02-07 11:10:46 -0500 |
commit | 805560677bc66a58c270551fa54b613642b3af97 (patch) | |
tree | b0ad121dc392fcd3388f66a021937d23f17f9f8d | |
parent | a3d5e00f64b3c166e34a8d36fcb4f5b757394e9b (diff) |
Fixed references to common_avatar_*.
-rw-r--r-- | lib/imagefile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/imagefile.php b/lib/imagefile.php index a8e963370..ea24029a3 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -121,11 +121,11 @@ class ImageFile && $w === $this->width && $h === $this->height) { - $outname = common_avatar_filename($this->id, + $outname = Avatar::filename($this->id, image_type_to_extension($this->type), $size, common_timestamp()); - $outpath = common_avatar_path($outname); + $outpath = Avatar::path($outname); @copy($this->filepath, $outpath); return $outname; } |