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

This commit is contained in:
Evan Prodromou 2011-09-18 19:29:23 -04:00
parent e79cd6eac0
commit 2c1911bfae

View File

@ -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;
}
}