forked from GNUsocial/gnu-social
Fave does not carry a type
it did in FreeSocial, where I copied my code from.
This commit is contained in:
parent
57a2d7a0e2
commit
aa33b7f21c
@ -339,7 +339,7 @@ class Fave extends Managed_DataObject
|
||||
public function getTarget()
|
||||
{
|
||||
// throws exception on failure
|
||||
return ActivityUtils::findLocalObject(array($this->uri), $this->type);
|
||||
return ActivityUtils::findLocalObject(array($this->uri));
|
||||
}
|
||||
|
||||
public function getTargetObject()
|
||||
|
Loading…
Reference in New Issue
Block a user