]> git.mxchange.org Git - friendica.git/commitdiff
This cache key doesn't exist anymore
authorMichael <heluecht@pirati.ca>
Mon, 15 Aug 2022 18:46:10 +0000 (18:46 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 15 Aug 2022 18:46:10 +0000 (18:46 +0000)
src/Model/Item.php

index 4a602907bcd45badc9e1c946cd51eedec901d96b..57e5b97bcd80f749839c58877f6130edae04890f 100644 (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;
        }