]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed references to common_avatar_*.
authorSean Murphy <sgmurphy@gmail.com>
Sat, 7 Feb 2009 16:10:46 +0000 (11:10 -0500)
committerSean Murphy <sgmurphy@gmail.com>
Sat, 7 Feb 2009 16:10:46 +0000 (11:10 -0500)
lib/imagefile.php

index a8e963370852145f0c8fcd5110ff7a261efb069c..ea24029a30b2ed8904f99756c006971e538b3086 100644 (file)
@@ -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;
         }