logging on notifier

This commit is contained in:
Friendika 2011-08-28 23:05:06 -07:00
parent 88e6e4699a
commit bfc708e07b
1 changed files with 3 additions and 1 deletions

View File

@ -125,8 +125,10 @@ function notifier_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('notifier: top level post');
$top_level = true;
}
}
$r = q("SELECT `contact`.*, `user`.`pubkey` AS `upubkey`, `user`.`prvkey` AS `uprvkey`,