aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-18 02:51:43 -0700
committerfriendica <info@friendica.com>2013-06-18 02:51:43 -0700
commit6220ab4b549e8a754b2d331d4e8b4fae36e8f98f (patch)
tree9de23114aff0cf4cedc7c43a056e5fb58132bb73 /include/notifier.php
parentc0cc494bf36a61885bc3391e6f05b48baafb312a (diff)
downloadvolse-hubzilla-6220ab4b549e8a754b2d331d4e8b4fae36e8f98f.tar.gz
volse-hubzilla-6220ab4b549e8a754b2d331d4e8b4fae36e8f98f.tar.bz2
volse-hubzilla-6220ab4b549e8a754b2d331d4e8b4fae36e8f98f.zip
fix profile update propagation
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 7d107e4d4..96c0bf31f 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -189,6 +189,7 @@ function notifier_run($argv, $argc){
$item = $suggest[0];
}
elseif($cmd === 'refresh_all') {
+ logger('notifier: refresh_all: ' . $item_id);
$s = q("select * from channel where channel_id = %d limit 1",
intval($item_id)
);
@@ -196,10 +197,9 @@ function notifier_run($argv, $argc){
$channel = $s[0];
$uid = $item_id;
$recipients = array();
- $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d) and not (abook_flags & %d)",
+ $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d)",
intval($item_id),
- intval(ABOOK_FLAG_SELF),
- intval(ABOOK_FLAG_PENDING)
+ intval(ABOOK_FLAG_SELF)
);
if($r) {
foreach($r as $rr) {