forked from GNUsocial/gnu-social
fix formatting of new Avatar:: calls
This commit is contained in:
@@ -282,9 +282,9 @@ class AvatarsettingsAction extends AccountSettingsAction
|
|||||||
$cur = common_current_user();
|
$cur = common_current_user();
|
||||||
|
|
||||||
$filename = Avatar::filename($cur->id,
|
$filename = Avatar::filename($cur->id,
|
||||||
image_type_to_extension($imagefile->type),
|
image_type_to_extension($imagefile->type),
|
||||||
null,
|
null,
|
||||||
'tmp'.common_timestamp());
|
'tmp'.common_timestamp());
|
||||||
|
|
||||||
$filepath = Avatar::path($filename);
|
$filepath = Avatar::path($filename);
|
||||||
|
|
||||||
|
|||||||
@@ -344,9 +344,9 @@ class GrouplogoAction extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
$filename = Avatar::filename($this->group->id,
|
$filename = Avatar::filename($this->group->id,
|
||||||
image_type_to_extension($imagefile->type),
|
image_type_to_extension($imagefile->type),
|
||||||
null,
|
null,
|
||||||
'group-temp-'.common_timestamp());
|
'group-temp-'.common_timestamp());
|
||||||
|
|
||||||
$filepath = Avatar::path($filename);
|
$filepath = Avatar::path($filename);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user