aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-04 22:08:12 -0700
committerzotlabs <mike@macgirvin.com>2017-05-04 22:08:12 -0700
commitc70ac572fabb7e808adb58ada201aa0e7acf0c36 (patch)
tree9f4eed92a63640c892d750482905a672991e1549 /include/import.php
parentf0a2747d80b29810eddeb62063c231d7178ac3db (diff)
downloadvolse-hubzilla-c70ac572fabb7e808adb58ada201aa0e7acf0c36.tar.gz
volse-hubzilla-c70ac572fabb7e808adb58ada201aa0e7acf0c36.tar.bz2
volse-hubzilla-c70ac572fabb7e808adb58ada201aa0e7acf0c36.zip
do away with single delivery (delivery from clones to singleton networks attached to other clones)
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/import.php b/include/import.php
index 224bb1803..d67689290 100644
--- a/include/import.php
+++ b/include/import.php
@@ -631,12 +631,6 @@ function import_items($channel, $items, $sync = false, $relocate = null) {
fix_attached_file_permissions($channel,$item['author_xchan'],$item['body'],$item['allow_cid'],$item['allow_gid'],$item['deny_cid'],$item['deny_gid']);
- if($sync && $item['item_wall']) {
- // deliver singletons if we have any
- if($item_result && $item_result['success']) {
- Zotlabs\Daemon\Master::Summon( [ 'Notifier','single_activity',$item_result['item_id'] ]);
- }
- }
}
}
}
@@ -1005,9 +999,6 @@ function import_mail($channel, $mails, $sync = false) {
$m['aid'] = $channel['channel_account_id'];
$m['uid'] = $channel['channel_id'];
$mail_id = mail_store($m);
- if($sync && $mail_id) {
- Zotlabs\Daemon\Master::Summon(array('Notifier','single_mail',$mail_id));
- }
}
}
}