Short-circuit bugs by defining Profile::getProfile()
This commit is contained in:
parent
e79cd6eac0
commit
2c1911bfae
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user