aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 23:00:45 -0700
committerFriendika <info@friendika.com>2011-08-28 23:00:45 -0700
commit51615f57acbdf5ff282037ba3c8e6a454127ea2c (patch)
tree788bc907e5d251edb6b6db4fd2190499edd511bc /include
parent846c4cea7c0e3868a63a187ee9a504a031b2a7e4 (diff)
downloadvolse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.tar.gz
volse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.tar.bz2
volse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.zip
flag top level post
Diffstat (limited to 'include')
-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`,