diff options
author | marijus <mario@mariovavti.com> | 2014-09-16 14:24:25 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-16 14:24:25 +0200 |
commit | eed6cbfb2a609536b62763aa8b412176c76b49c6 (patch) | |
tree | 0c5917c90c45baa1d99b164eec4221150f6fef56 | |
parent | b5bb2230ebd9648e30c79efed6ffe672a2ae19bf (diff) | |
parent | 6a82ccecd08e84dff0f4e3198693823d7019c6d2 (diff) | |
download | volse-hubzilla-eed6cbfb2a609536b62763aa8b412176c76b49c6.tar.gz volse-hubzilla-eed6cbfb2a609536b62763aa8b412176c76b49c6.tar.bz2 volse-hubzilla-eed6cbfb2a609536b62763aa8b412176c76b49c6.zip |
Merge branch 'master' of https://github.com/friendica/red
-rw-r--r-- | mod/import.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/mod/import.php b/mod/import.php index 0663a8b57..2fbb71fc4 100644 --- a/mod/import.php +++ b/mod/import.php @@ -379,21 +379,17 @@ function import_post(&$a) { //FIXME just a note here for when folks want to import content - be very careful to unset ITEM_ORIGIN on all imported content. Or you could end up with a nasty routing loop when somebody tries to reply to one of those posts. - - - // FIXME - ensure we have a self entry if somebody is trying to pull a fast one - if($seize) { - // notify old server that it is no longer primary. - - } + // send out refresh requests + // notify old server that it may no longer be primary. + + proc_run('php','include/notifier.php','location',$channel['channel_id']); // This will indirectly perform a refresh_all *and* update the directory proc_run('php', 'include/directory.php', $channel['channel_id']); - // send out refresh requests notice( t('Import completed.') . EOL); @@ -401,7 +397,6 @@ function import_post(&$a) { goaway(z_root() . '/network' ); - } |