mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
remove redundant code
This commit is contained in:
parent
9afb1567e5
commit
e49b9d8a89
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue