aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/connections.php2
-rw-r--r--mod/settings.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 226c1678f..a53107dcf 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -145,7 +145,7 @@ function connections_clone(&$a) {
unset($clone['abook_account']);
unset($clone['abook_channel']);
require_once('include/settings.php');
- build_sync_packet(array('abook' => array($clone)));
+ build_sync_packet(0 /* use the current local_user */, array('abook' => array($clone)));
}
diff --git a/mod/settings.php b/mod/settings.php
index 788514eca..e830d7070 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -177,6 +177,7 @@ function settings_post(&$a) {
check_form_security_token_redirectOnErr('/settings/featured', 'settings_featured');
call_hooks('feature_settings_post', $_POST);
+ build_sync_packet();
return;
}
@@ -189,6 +190,7 @@ function settings_post(&$a) {
set_pconfig(local_user(),'feature',substr($k,8),((intval($v)) ? 1 : 0));
}
}
+ build_sync_packet();
return;
}
@@ -232,6 +234,7 @@ function settings_post(&$a) {
);
call_hooks('display_settings_post', $_POST);
+ build_sync_packet();
goaway($a->get_baseurl(true) . '/settings/display' );
return; // NOTREACHED
}
@@ -545,11 +548,12 @@ function settings_post(&$a) {
dbesc($username),
intval($channel['channel_id'])
);
- // we really need to send out notifications to all our friends
}
proc_run('php','include/directory.php',local_user());
+ build_sync_packet();
+
//$_SESSION['theme'] = $theme;
if($email_changed && $a->config['system']['register_policy'] == REGISTER_VERIFY) {