]> git.mxchange.org Git - friendica.git/commitdiff
logging on notifier
authorFriendika <info@friendika.com>
Mon, 29 Aug 2011 06:05:06 +0000 (23:05 -0700)
committerFriendika <info@friendika.com>
Mon, 29 Aug 2011 06:05:06 +0000 (23:05 -0700)
include/notifier.php

index cde156cbdce3e75659cd24cc0263a43cfb503ddd..aa186317f967de1eb736a2360c944b205f44da34 100644 (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`,