fix formatting of new Avatar:: calls
This commit is contained in:
parent
343cd6f205
commit
fc094e0cf4
|
@ -282,9 +282,9 @@ class AvatarsettingsAction extends AccountSettingsAction
|
|||
$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);
|
||||
|
||||
|
|
|
@ -344,9 +344,9 @@ class GrouplogoAction extends Action
|
|||
}
|
||||
|
||||
$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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user