aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-24 14:55:39 -0800
committerzotlabs <mike@macgirvin.com>2017-11-24 14:55:39 -0800
commitfda5231a719025c0e2d7cc3954ebbab5b0d53586 (patch)
tree010ad3c43aaa5e5637e6ead7abbad681da32eca2 /include/zot.php
parent874cff1a873c306f4174b4910b02de5795a037ca (diff)
downloadvolse-hubzilla-fda5231a719025c0e2d7cc3954ebbab5b0d53586.tar.gz
volse-hubzilla-fda5231a719025c0e2d7cc3954ebbab5b0d53586.tar.bz2
volse-hubzilla-fda5231a719025c0e2d7cc3954ebbab5b0d53586.zip
default profile assign
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 40e303bf1..d60494d94 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -394,6 +394,7 @@ function zot_refresh($them, $channel = null, $force = false) {
$next_birthday = NULL_DATE;
}
+ $profile_assign = get_pconfig($channel['channel_id'],'system','profile_assign','');
// Keep original perms to check if we need to notify them
$previous_perms = get_all_perms($channel['channel_id'],$x['hash']);
@@ -455,6 +456,7 @@ function zot_refresh($them, $channel = null, $force = false) {
'abook_channel' => intval($channel['channel_id']),
'abook_closeness' => intval($closeness),
'abook_xchan' => $x['hash'],
+ 'abook_profile' => $profile_assign,
'abook_created' => datetime_convert(),
'abook_updated' => datetime_convert(),
'abook_dob' => $next_birthday,