aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 23:05:06 -0700
committerFriendika <info@friendika.com>2011-08-28 23:05:06 -0700
commitbfc708e07bde21b772f160aa9873d660f7995c2e (patch)
treeada8f282115e91b3a2f0aec640b366d1065f0e34 /include/notifier.php
parent88e6e4699a89a0f17799af44e4a085fe28efeb81 (diff)
downloadvolse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.tar.gz
volse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.tar.bz2
volse-hubzilla-bfc708e07bde21b772f160aa9873d660f7995c2e.zip
logging on notifier
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php4
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`,