GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit 2c1911bf authored by Evan Prodromou's avatar Evan Prodromou

Short-circuit bugs by defining Profile::getProfile()

parent e79cd6ea
......@@ -1430,4 +1430,11 @@ class Profile extends Managed_DataObject
$profile->_fillAvatar($width, $avatars[$profile->id]);
}
}
// Can't seem to find how to fix this.
function getProfile()
{
return $this;
}
}
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