Don't store object type for verbs (as they don't have it)

This commit is contained in:
Mikael Nordfeldth
2016-01-02 16:05:20 +01:00
parent fe328ae5e4
commit 336f099241
4 changed files with 2 additions and 4 deletions

View File

@@ -194,7 +194,6 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
$actobj = $act->objects[0];
$object = Fave::saveActivityObject($actobj, $stored);
$stored->object_type = $object->getObjectType();
return $object;
}