aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/import.php13
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' );
-
}