]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fave does not carry a type
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Jul 2014 14:26:50 +0000 (16:26 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Jul 2014 14:28:09 +0000 (16:28 +0200)
it did in FreeSocial, where I copied my code from.

plugins/Favorite/classes/Fave.php

index d4b3f4795fd5728c50c9fed354c9416f2c4e2cc6..5ed53d160a2f142340c1de2a528a454155985bc5 100644 (file)
@@ -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()