aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2020-08-05 19:13:44 +0200
committerMario <mario@mariovavti.com>2020-08-05 19:13:44 +0200
commit5ecbbfc7dfe1d1f3d36a02ac36b659538d6c5937 (patch)
tree3fcb376bba658d1014ee1bce09c8520435920e83 /include
parentc56b140387aaf4247d7af56677d1cc18be3a6da9 (diff)
downloadvolse-hubzilla-5ecbbfc7dfe1d1f3d36a02ac36b659538d6c5937.tar.gz
volse-hubzilla-5ecbbfc7dfe1d1f3d36a02ac36b659538d6c5937.tar.bz2
volse-hubzilla-5ecbbfc7dfe1d1f3d36a02ac36b659538d6c5937.zip
update profile|cover photo activities converted to z6
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/items.php b/include/items.php
index dc76af31b..0cfa2a340 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4830,14 +4830,6 @@ function send_profile_photo_activity($channel,$photo,$profile) {
$arr['item_thread_top'] = 1;
$arr['item_origin'] = 1;
$arr['item_wall'] = 1;
- $arr['obj_type'] = ACTIVITY_OBJ_PHOTO;
- $arr['verb'] = ACTIVITY_UPDATE;
-
- $arr['obj'] = json_encode(array(
- 'type' => $arr['obj_type'],
- 'id' => z_root() . '/photo/profile/l/' . $channel['channel_id'],
- 'link' => array('rel' => 'photo', 'type' => $photo['type'], 'href' => z_root() . '/photo/profile/l/' . $channel['channel_id'])
- ));
if(stripos($profile['gender'],t('female')) !== false)
$t = t('%1$s updated her %2$s');