diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/connections.php | 2 | ||||
-rw-r--r-- | mod/settings.php | 5 |
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){ |