aboutsummaryrefslogtreecommitdiffstats
path: root/include/delivery.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/delivery.php')
-rw-r--r--include/delivery.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/delivery.php b/include/delivery.php
index 1f5883c26..4b85a9ad1 100644
--- a/include/delivery.php
+++ b/include/delivery.php
@@ -108,8 +108,10 @@ function delivery_run($argv, $argc){
$item['deleted'] = 1;
}
- if(count($items) == 1 && $items[0]['uri'] === $items[0]['parent-uri'])
+ if((count($items) == 1) && ($items[0]['uri'] === $items[0]['parent-uri'])) {
+ logger('delivery: top level post');
$top_level = true;
+ }
}
$r = q("SELECT `contact`.*, `user`.`pubkey` AS `upubkey`, `user`.`prvkey` AS `uprvkey`,