We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c8e0000c authored by mattl's avatar mattl

a group's Profile will now correctly update group original avatar

parent bcb6dadc
......@@ -155,6 +155,11 @@ class Profile extends Managed_DataObject
public function setOriginal($filename)
if ($this->isGroup()) {
// Until Group avatars are handled just like profile avatars.
return $this->getGroup()->setOriginal($filename);
$imagefile = new ImageFile($this->id, Avatar::path($filename));
$avatar = new Avatar();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment