aboutsummaryrefslogtreecommitdiffstats
path: root/include/activities.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 19:31:38 -0700
committerfriendica <info@friendica.com>2012-10-29 19:31:38 -0700
commit1a6415807ebf9ae859134c99eb64a90d7363747a (patch)
tree2f53cb0168079c9f195979474eed950ad7c38734 /include/activities.php
parente36ca7b41f58cf0a478f222548d419e254a201be (diff)
downloadvolse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.tar.gz
volse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.tar.bz2
volse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.zip
more structural stuff
Diffstat (limited to 'include/activities.php')
-rw-r--r--include/activities.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/activities.php b/include/activities.php
index d9a39e2d8..e0717788a 100644
--- a/include/activities.php
+++ b/include/activities.php
@@ -25,7 +25,7 @@ function profile_activity($changed, $value) {
$arr['verb'] = ACTIVITY_UPDATE;
$arr['obj_type'] = ACTIVITY_OBJ_PROFILE;
- $A = '[url=' . $self[0]['xchan_profile'] . ']' . $self[0]['xchan_name'] . '[/url]';
+ $A = '[url=' . $self[0]['xchan_url'] . ']' . $self[0]['xchan_name'] . '[/url]';
$changes = '';
@@ -42,7 +42,7 @@ function profile_activity($changed, $value) {
$changes .= $ch;
}
- $prof = '[url=' . $self[0]['xchan_profile'] . '?tab=profile' . ']' . t('public profile') . '[/url]';
+ $prof = '[url=' . $self[0]['xchan_url'] . '?tab=profile' . ']' . t('public profile') . '[/url]';
if($t == 1 && strlen($value)) {
$message = sprintf( t('%1$s changed %2$s to &ldquo;%3$s&rdquo;'), $A, $changes, $value);
@@ -61,7 +61,7 @@ function profile_activity($changed, $value) {
$arr['object'] = json_encode(array(
'type' => ACTIVITY_OBJ_PROFILE,
'title' => $self[0]['channel_name'],
- 'id' => $self[0]['xchan_profile'] . '/' . $self[0]['xchan_hash'],
+ 'id' => $self[0]['xchan_url'] . '/' . $self[0]['xchan_hash'],
'link' => $links
));