aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-08 21:05:39 -0700
committerfriendica <info@friendica.com>2013-09-08 21:05:39 -0700
commita09829a1ee62ec33904348979c5d5fbc6eb1bd6c (patch)
tree5d4caad2216bff0aafd8355d8d708e9446ecf05f /include/notifier.php
parente11f2a9b022cbca170e3f1ce5fcd4d17ec63d3c6 (diff)
downloadvolse-hubzilla-a09829a1ee62ec33904348979c5d5fbc6eb1bd6c.tar.gz
volse-hubzilla-a09829a1ee62ec33904348979c5d5fbc6eb1bd6c.tar.bz2
volse-hubzilla-a09829a1ee62ec33904348979c5d5fbc6eb1bd6c.zip
perform a refresh_all when an import has completed so that all your connections get a fresh update.
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 5dcd7b58c..e813f7951 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -208,9 +208,8 @@ 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)",
- intval($item_id),
- intval(ABOOK_FLAG_SELF)
+ $r = q("select abook_xchan from abook where abook_channel = %d",
+ intval($item_id)
);
if($r) {
foreach($r as $rr) {