remove redundant code

This commit is contained in:
Mike Macgirvin 2023-05-06 15:03:25 -07:00
parent 9afb1567e5
commit e49b9d8a89

View file

@ -4455,17 +4455,6 @@ function comment_local_origin($item) {
return false;
}
function ap_update_actor($channel)
{
$arr = [];
$arr['actor'] = z_root() . '/channel/' . $channel['channel_address'];
$arr['type'] = 'Update';
$arr['updated'] = datetime_convert(format: ATOM_TIME);
$arr['object'] = $arr['actor'];
return array_merge(Activity::ap_schema(), $arr);
}
function send_profile_photo_activity($channel,$photo,$profile) {
// for now only create activities for the default profile