From 3d95fcb7cd37c6bff03f76e20b0d2eeb785616da Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 25 Jul 2013 16:00:04 -0700 Subject: more work on clone sync --- mod/connections.php | 2 +- mod/settings.php | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'mod') diff --git a/mod/connections.php b/mod/connections.php index 1b97412d4..5e803fb28 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -149,7 +149,7 @@ function connections_clone(&$a) { unset($clone['abook_id']); unset($clone['abook_account']); unset($clone['abook_channel']); - require_once('include/settings.php'); + build_sync_packet(0 /* use the current local_user */, array('abook' => array($clone))); } diff --git a/mod/settings.php b/mod/settings.php index 1878fceb6..00ad94d20 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1,7 +1,4 @@ -