Merge pull request #7265 from annando/issue-7264

Issue 7264: Count local delivery as well
This commit is contained in:
Hypolite Petovan 2019-06-13 16:51:03 -04:00 committed by GitHub
commit 9054e00873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -284,6 +284,11 @@ class Delivery extends BaseObject
}
DFRN::import($atom, $target_importer);
if (in_array($cmd, [Delivery::POST, Delivery::POKE])) {
Model\ItemDeliveryData::incrementQueueDone($target_item['id']);
}
return;
}