1
0
Fork 0

This cache key doesn't exist anymore

This commit is contained in:
Michael 2022-08-15 18:46:10 +00:00
parent 5b3145d7ce
commit 4d617c9c48

View file

@ -1273,10 +1273,6 @@ class Item
self::updateDisplayCache($posted_item['uri-id']);
}
if ($posted_item['origin'] && ($posted_item['uid'] != 0) && in_array($posted_item['gravity'], [GRAVITY_PARENT, GRAVITY_COMMENT])) {
DI::cache()->delete(ActivityPub\Transmitter::CACHEKEY_OUTBOX . $posted_item['uid']);
}
return $post_user_id;
}