diff options
author | Friendika <info@friendika.com> | 2011-08-28 23:05:06 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-28 23:05:06 -0700 |
commit | bfc708e07bde21b772f160aa9873d660f7995c2e (patch) | |
tree | ada8f282115e91b3a2f0aec640b366d1065f0e34 | |
parent | 88e6e4699a89a0f17799af44e4a085fe28efeb81 (diff) | |
download | volse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.tar.gz volse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.tar.bz2 volse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.zip |
logging on notifier
-rw-r--r-- | include/notifier.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index cde156cbd..aa186317f 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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`, |