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

@@ -128,7 +128,6 @@ class SharePlugin extends ActivityVerbHandlerPlugin
// Notice::saveActivity it will update the Notice object.
$stored->repeat_of = $sharedNotice->getID();
$stored->conversation = $sharedNotice->conversation;
$stored->object_type = ActivityUtils::resolveUri(ActivityObject::ACTIVITY, true);
// We don't have to save a repeat in a separate table, we can
// find repeats by just looking at the notice.repeat_of field.