aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-21 15:28:37 -0700
committerredmatrix <mike@macgirvin.com>2016-09-21 15:28:37 -0700
commitb5d093e5caa87517280912e40a0f47352dca3f04 (patch)
tree0f0fd61b2740feadd9985eecb2d28d85401ed4f6 /include/dir_fns.php
parent10a52977f8b44ef0e1dcf1d89b51a0330340472e (diff)
downloadvolse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.gz
volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.bz2
volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.zip
finish the channel_reddress() conversion
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 9f1be1a42..53a81b242 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -423,7 +423,7 @@ function local_dir_update($uid, $force) {
$arr = array('channel_id' => $uid, 'hash' => $hash, 'profile' => $profile);
call_hooks('local_dir_update', $arr);
- $address = $p[0]['channel_address'] . '@' . App::get_hostname();
+ $address = channel_reddress($p[0]);
if (perm_is_allowed($uid, '', 'view_profile')) {
import_directory_profile($hash, $arr['profile'], $address, 0);
@@ -439,5 +439,5 @@ function local_dir_update($uid, $force) {
}
$ud_hash = random_string() . '@' . App::get_hostname();
- update_modtime($hash, $ud_hash, $p[0]['channel_address'] . '@' . App::get_hostname(),(($force) ? UPDATE_FLAGS_FORCED : UPDATE_FLAGS_UPDATED));
+ update_modtime($hash, $ud_hash, channel_reddress($p[0]),(($force) ? UPDATE_FLAGS_FORCED : UPDATE_FLAGS_UPDATED));
}