flag top level post
This commit is contained in:
parent
846c4cea7c
commit
51615f57ac
|
@ -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`,
|
||||
|
|
Loading…
Reference in a new issue