]> git.mxchange.org Git - friendica.git/commitdiff
Remove delivery queue done incrementation for mail delivery
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 7 Dec 2018 14:01:19 +0000 (09:01 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:39:14 +0000 (09:39 -0500)
src/Worker/Delivery.php

index 191692a90608eb26b1554895f6256c9710daf8d0..d7d9ac504da9b44479fc256275faa06b8660c932 100644 (file)
@@ -210,10 +210,6 @@ class Delivery extends BaseObject
 
                        case Protocol::MAIL:
                                self::deliverMail($cmd, $contact, $owner, $target_item);
-
-                               if (in_array($cmd, [Delivery::POST, Delivery::COMMENT])) {
-                                       ItemDeliveryData::incrementQueueDone($target_id);
-                               }
                                break;
 
                        default: