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

Commit 96172520 authored by mattl's avatar mattl

Try if Profile is a Person (in effect ActivityObject::PERSON)

parent 5c262a78
......@@ -122,6 +122,12 @@ class Profile extends Managed_DataObject
}
}
public function isPerson()
{
// Maybe other things than PERSON and GROUP can have Profiles in the future?
return !$this->isGroup();
}
public function isLocal()
{
try {
......
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