$cur = common_current_user();
$filename = Avatar::filename($cur->id,
- image_type_to_extension($imagefile->type),
- null,
- 'tmp'.common_timestamp());
+ image_type_to_extension($imagefile->type),
+ null,
+ 'tmp'.common_timestamp());
$filepath = Avatar::path($filename);
}
$filename = Avatar::filename($this->group->id,
- image_type_to_extension($imagefile->type),
- null,
- 'group-temp-'.common_timestamp());
+ image_type_to_extension($imagefile->type),
+ null,
+ 'group-temp-'.common_timestamp());
$filepath = Avatar::path($filename);