Try if Profile is a Person (in effect ActivityObject::PERSON)
This commit is contained in:
parent
5c262a788d
commit
961725205d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user