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

@@ -183,7 +183,7 @@ class ActivityPlugin extends Plugin
'uri' => $uri,
'verb' => ActivityVerb::UNFAVORITE,
'object_type' => (($notice->verb == ActivityVerb::POST) ?
$notice->object_type : ActivityObject::ACTIVITY)));
$notice->object_type : null)));
return true;
}