Fave does not carry a type

it did in FreeSocial, where I copied my code from.
This commit is contained in:
Mikael Nordfeldth 2014-07-05 16:26:50 +02:00
parent 57a2d7a0e2
commit aa33b7f21c

View File

@ -339,7 +339,7 @@ class Fave extends Managed_DataObject
public function getTarget() public function getTarget()
{ {
// throws exception on failure // throws exception on failure
return ActivityUtils::findLocalObject(array($this->uri), $this->type); return ActivityUtils::findLocalObject(array($this->uri));
} }
public function getTargetObject() public function getTargetObject()