diff options
author | Friendika <info@friendika.com> | 2011-08-28 23:00:45 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-28 23:00:45 -0700 |
commit | 51615f57acbdf5ff282037ba3c8e6a454127ea2c (patch) | |
tree | 788bc907e5d251edb6b6db4fd2190499edd511bc | |
parent | 846c4cea7c0e3868a63a187ee9a504a031b2a7e4 (diff) | |
download | volse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.tar.gz volse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.tar.bz2 volse-hubzilla-51615f57acbdf5ff282037ba3c8e6a454127ea2c.zip |
flag top level post
-rw-r--r-- | include/delivery.php | 4 |
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`, |