if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
- common_redirect(common_local_url('editgroup', $args), 301);
+ common_redirect(common_local_url('grouplogo', $args), 301);
return false;
}
}
$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);