aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-25 16:00:04 -0700
committerfriendica <info@friendica.com>2013-07-25 16:00:04 -0700
commit3d95fcb7cd37c6bff03f76e20b0d2eeb785616da (patch)
tree823126978a388cc01c033a9a6743df5bdbfef6a8 /mod
parente45beccd5b7f5f56f3bda9f09e77e4c0f9669fcd (diff)
downloadvolse-hubzilla-3d95fcb7cd37c6bff03f76e20b0d2eeb785616da.tar.gz
volse-hubzilla-3d95fcb7cd37c6bff03f76e20b0d2eeb785616da.tar.bz2
volse-hubzilla-3d95fcb7cd37c6bff03f76e20b0d2eeb785616da.zip
more work on clone sync
Diffstat (limited to 'mod')
-rw-r--r--mod/connections.php2
-rw-r--r--mod/settings.php5
2 files changed, 2 insertions, 5 deletions
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 @@
-<?php
-
-require_once('include/settings.php');
-
+<?php /** @file */
function get_theme_config_file($theme){